summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-13macro cleanup; from Kaspars Bankovskis, tweaked a bitIngo Schwarze
2014-12-13Properly validate ranges:Tobias Stoeckmann
- avoid out of boundary access on very short program names - fix compiler warning when converting values between 0 and INT_MAX ok deraadt, millert
2014-12-13ThinkPad Edge E130, event 0x6060 is supposed to indicate toggleTheo de Raadt
between default Fn and media Fn modes. We don't do that, so ignore the toggle. From Frederic Nowak
2014-12-13add a sxidog_activate() function so the kernel will link againJonathan Gray
after the changes made in rev 1.5
2014-12-12free correct size. it's variable!Ted Unangst
2014-12-12catch up with swab.c rev. 1.9:Ingo Schwarze
update SYNOPSIS and DESCRIPTION and add STANDARDS
2014-12-12sizeof(*ptr) for some free()Ted Unangst
2014-12-12convert some hash tables (the easy ones) to siphash. ok benno.Ted Unangst
2014-12-12markup fixes from Kaspars at Bankovskis dot net;Ingo Schwarze
some of this is already contained upstream in NetBSD, the rest will be sent there
2014-12-12oops, i was not supposed to disable mwait. found by stspTed Unangst
2014-12-12Like previously done in relayd, change the keyword "ssl" to "tls" toReyk Floeter
reflect reality. OK benno@
2014-12-12markup fixes, and repair some wrong argument types while here;Ingo Schwarze
from Kaspars at Bankovskis dot net
2014-12-12Increase cipher suite test coverage by including all cipher suites thatJoel Sing
use RSA authentication, rather than only those that use RSA key exchange.
2014-12-12Change the keyword "ssl" to "tls" to reflect reality since weReyk Floeter
effectively disabled support for the SSL protocols. SSL remains a common term describing SSL/TLS, there is some controvery about this change, and the name really doesn't matter, but I feel confident about it now. (btw., sthen@ pointed out some historical context: http://tim.dierks.org/2014/05/security-standards-and-name-changes-in.html) OK benno@, with input from tedu@
2014-12-12put global_ptrace here too so users know how to spell it. poke by jmcTed Unangst
2014-12-12sysctl kern.global_ptrace.Ted Unangst
controls whether you can ptrace any process with appropriate privileges or only one own's children. ok deraadt
2014-12-12Range check the value of the base for typeset -i base x=y. Instead ofJonathan Gray
erroring for values outside of the range switch to base 10 to match the behaviour of ksh93. As we have a smaller digit alphabet than ksh93 the accepted range is smaller (2-36) than ksh93 (2-64). The other form of setting a base, typeset -i x=base#y already has a range check that errors (as ksh93 also does for that syntax). Fixes a crash found with the afl fuzzer.
2014-12-12Bounds check the file path used in the 'w' command. Modified versionJonathan Gray
of a diff from Sebastien Marie to prevent a crash found by Sebastien with the afl fuzzer.
2014-12-12Rework the pointer swap in the 'P' command to make the intentJonathan Gray
clearer and avoid a crash on 'g;P' found by Sebastien Marie with the afl fuzzer.
2014-12-12sysctl_proc_vmmap(): Allow retrieving "self" VM mapping without privilege.Masao Uebayashi
Previous version OK'ed by tedu@ deraadt@
2014-12-12Xr getdtablecountTheo de Raadt
2014-12-12revert chunk I didn't mean to commit yet; via jmc@Damien Miller
2014-12-11update swab() to match the current posix definition. "rationale: none."Ted Unangst
rewrite the function to be simpler as well. the compiler can unroll the loop for us if necessary. ok schwarze
2014-12-11syncTheo de Raadt
2014-12-11we do not need the complexity of an assembly swab function here.Ted Unangst
ok deraadt
2014-12-11use a local swapbytes function instead of relying on undefinedTed Unangst
overlapping swab behavior. vaguely ok kettenis
2014-12-11The utwitch(4) driver was never added here. Obviously it belongs in theTheo de Raadt
"Human Interface Devices" section.
2014-12-11Do not blindly dereference hw_vendor and hw_prod without checking them forMiod Vallat
NULL first, for they are not guaranteed to be allocated. Found the hard way by Tobias Stoeckmann; ok deraadt@
2014-12-11Fix previous:Ingo Schwarze
As pointed out by stsp@, LC_CTYPE *does* affect the ctype.h functions. Use a wording similar to a suggestion by deraadt@. Feedback and OK jmc@, OK stsp@.
2014-12-11slightly reshuffle some code to reduce the diff with portable;Ingo Schwarze
no functional change
2014-12-11regenTed Unangst
2014-12-11remove urioTed Unangst
2014-12-11remove urioTed Unangst
2014-12-11urio has been removedTed Unangst
2014-12-11dragonflybsd has added a urio driver. conservation of urios requiresTed Unangst
that we delete ours, which isn't actually useful. ok mpi sthen
2014-12-11convert bcopy to memcpy/memmove. ok krwTed Unangst
2014-12-11Make sure you'll never look at stack garbage, prodded by kettenis@.Martin Pieuchot
2014-12-11Handle UPSes with broken report descriptors.Martin Pieuchot
As reported by David Higgs some UPSes might send fewer bytes than requested. When such thing happens, do like apcupsd and adjust the size of the given descriptor. Based on a diff provided by David Higgs, thanks!
2014-12-11Change uhidev(4) set/get report functions in various way.Martin Pieuchot
Always pass the parent uhidev(4) descriptor corresponding to the single USB device with multiple reportIDs instead of a child. Make uhidev_get_report() aware of non NUL reportID by prepending a byte to the given buffer, just like uhidev_set_report{,async}() already do. Return the number of bytes written or read upon success and -1 otherwise. This allow callers to deal with short reads without having do mess with xfer error codes madness. Reviewed and tested by David Higgs.
2014-12-11When scanning backwards for the last dot in a filename,Ingo Schwarze
stop at the '/' marking the beginning of the filename. This allows to configure a Content-Type for a filename without a dot. OK reyk@
2014-12-11merge conflictsBrad Smith
2014-12-11Remove an undocumented limit on the length of the pattern and stringTodd C. Miller
to match of PATH_MAX. As fnmatch() is used for matching more than just pathnames, this can prevent legitimate matches for long strings or partterns. OK miod@ tedu@
2014-12-11update to Unbound 1.5.1, ok sthen@Brad Smith
2014-12-11typos; from kaspars bankovskisJason McIntyre
2014-12-11according to kaspars bankovskis, allocbuf was removed in -r1.88Jason McIntyre
of sys/kern/vfs_bio.c;
2014-12-11Delete #ifdef'd code that hasn't been compiled in years from sparc64 ofwboot.Stefan Sperling
ok miod@
2014-12-11Do not change the interface of a route if it is not intended.Martin Pieuchot
When a route change message is submitted, looks for a new ifa to attach the route only if a gateway, an ifp or an ifa has been specified. Fix a regression reported by Florian Riehm, ok bluhm@.
2014-12-11Do not use "struct route" when it is not necessary.Martin Pieuchot
This structure is now only used to pass a cached route entry to ip{6,}_output() which will be converted shortly. With inputs from millert@, ok bluhm@
2014-12-11explicitly include sys/param.h in files that use the howmany() macro;Damien Miller
from portable
2014-12-11Make quotactlcmd formatting consistent with othersPhilip Guenther
Fix some indentation in the generated .c file