summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-06Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
ok kettenis@ mpi@
2016-03-06syncTheo de Raadt
2016-03-06Improve display of unknown and KTR_START recordsPhilip Guenther
request and ok naddy@
2016-03-06The range of PIDs has changed, and always included zero.Philip Guenther
Based on diff from Michal Mazurek (akfaew (at) jasminek.net)
2016-03-06No more compat emulations, so remove ktrace EMUL records and the baggagePhilip Guenther
for generating and parsing them. ok mpi@ naddy@ millert@ deraadt@
2016-03-06Rename mips64's trap_frame into trapframe.Martin Pieuchot
For coherency with other archs and in order to use it in MI code. ok visa@, tobiasu@
2016-03-06Drop "rpath" promise. Now that pledge() is called after setlocale(),tb
this is no longer needed. ok beck@, natano@
2016-03-06Do not fetch the same block multiple times if it is already presentMartin Pieuchot
in the buffer cache. When the Dynamic Buffer Cache has been introduced bread_cluster() became the replacement of cluster_read(). However this function did not consider the B_CACHE flag of the first buffer of a cluster like its predecessor did. This improves a lot read operations on MSDOSFS while reducing the number of DMA operations. ok beck@
2016-03-06Merge db_elf_sym_values() into db_symbol_values().Martin Pieuchot
ok stefan@
2016-03-06explict_bzero for some asn1 free's - ok miod@Bob Beck
2016-03-06Make sure stdio functions don't end up in the library, from miod@Bob Beck
ok doug@ bcook@
2016-03-06Remove unused amap_share_protect().Stefan Kempf
ok mpi@ visa@
2016-03-06my bad. thought it was setlocale "C".Marc Espie
2016-03-06tweak previous a little;Jason McIntyre
2016-03-06DDB_REGS -> ddb_regsMartin Pieuchot
2016-03-06Tighten mknod pledge().natano
The wpath, cpath and fattr promises are not required for calling mknod(2), dpath is enough. ok semarie@ testing and ok tb@
2016-03-06DDB_REGS -> &ddb_regs.Martin Pieuchot
All our archs use the same define.
2016-03-06Make set +o conform with POSIX.natano
It should be possible to use set +o to save the current shell options, then modify them at will and later restore them to the saved value. Therefore the output must not only contain the options which are currently set, but also the ones that are _not_ set, so a restore disables them if they are enabled. from Martijn Dekker (martijn (at) inlv (dot) org) ok sthen@, tb@
2016-03-06Update file(1) regress for new description of ar(1) file.Nicholas Marriott
2016-03-06Tweak uvm assertions to avoid locking in some cases.Stefan Kempf
When only one thread can access a map, there's no need to lock it. Tweak the assertion instead of appeasing it by acquiring a lock when it's not necessary. ok kettenis@
2016-03-06Document the PT_GET_THREAD_{FIRST,NEXT} requestsPhilip Guenther
From Michal Mazurek (akfaew (at) jasminek.net)
2016-03-06Localize some declarations to kern_exit.c: the last good reason to putPhilip Guenther
them in sys/proc.h has been removed with compat_linux diff from Michal Mazurek (akfaew (at) jasminek.net)
2016-03-06Increase PID_MAX to 99999: the compats that constrained it to SHRT_MAX-1 arePhilip Guenther
long gone. reminded by comment suggestion from Michal Mazurek (akfaew (at) jasminek.net) ok natano@
2016-03-06Sync 'archive' magic from file 5.25. Various improvements includingStuart Henderson
epub detection which jirib at devio dot us reported as not working. nicm says "The only thing I see that we do not support is the indirect on the last line, I suggest just commenting it" (done).
2016-03-05better error messages, common work with natano@Marc Espie
2016-03-05ntfs populates ntfs_args, not msdosfs_args; ok espie@natano
2016-03-05Make the fd_set* passed to FD_ISSET() non-const: the non-macro version isPhilip Guenther
stricter (per POSIX, dang it)
2016-03-05Remove unused node type; ok espie@natano
2016-03-05One ddb interface is enough for ppc.Martin Pieuchot
2016-03-05Define db_reg_t like the other archs by typedef'ing "struct trapframe".Martin Pieuchot
This will allow us to use some of the DDB macros on trapframe which are not DDB_REGS.
2016-03-05missed 'sed -i'Robert Peichaer
OK halex@
2016-03-05Sync no-argument function declaration and definition by adding (void).Tobias Ulmer
Covers all of landisk/sh, per naddy's suggestion. ok on previous diff deraadt@ naddy@
2016-03-05Remove debugging code, extra whitespace and a lint annotation.tb
"just clean it", deraadt@; ok sha256
2016-03-05Use mknod(2) to create FIFOs by setting S_IFIFO in the mode.Todd C. Miller
Simplifies the logic in domakenodes() slightly. OK espie@
2016-03-05Change default lpd spool directory to match the code; from Chris BennettAntoine Jacoutot
Add /var/spool/output/lpd to mtree(1). This removes the ability for the daemon group to write directly under /var/spool/output; though no breakage is expected since this directory was only supposed to contain line printer spooling directories. ok sthen@
2016-03-05According to RFC7231, section 7.1.1.1, the HTTP date header supportsChristian Weisgerber
no other timezone than the fixed string "GMT". Avoid using strptime %Z, which is nonstandard and can give surprising results on other operating systems. ok deraadt@ giovanni@ bcook@
2016-03-05If setlocale("en_US.UTF-8") succeeds, then don't do the check for UTF-8Nicholas Marriott
locale since if it isn't UTF-8 the system is broken anyway. If it fails, try "" and check for UTF-8 with nl_langinfo(CODESET) rather than wcwidth(). Based on a diff from schwarze@, nl_langinfo also suggested by stsp@.
2016-03-05update to unbound 1.5.8, ok florian@ jung@Stuart Henderson
2016-03-05safer pattern: if you're interested in one child, get THAT one, don't stealMarc Espie
children from other parts of the program. In that case, there's no reason to try to catch other process. 1/ they don't exist 2/ if they did, stealing their status would be bad. okay deraadt@
2016-03-05add proper entries for pkg_add privsep, instead of piggy-backing on _pfetchMarc Espie
which was a "better than nothing" measure for 5.9. Another user to come. Approved by deraadt@ on principle. thanks sthen@ for checking my lines over.
2016-03-05POSIX-compliant behavior of "set -u" regarding "$*" and "$@" specialsDmitrij Czarkoff
All work done by Martijn Dekker OK millert@
2016-03-05Convert a hand-rolled strtonum to a call to strtonum(3). This preventstb
integer overflow on bogus input and bizarre error messages. Moreover, fortune files can now be named anything except names matching the regex ^[0-9][0-9.]*%$ ok mestre@
2015-07-16update to Unbound 1.5.4, ok florian@, looks sane deraadt@Stuart Henderson
2014-11-20update to Unbound 1.5.0, ok sthen@Brad Smith
2013-09-22update to Unbound 1.4.21, ok brad@Stuart Henderson
2012-03-26Import Unbound 1.4.16 to work on in-tree (not yet linked to the build).Stuart Henderson
These are the direct sources from NLnet Labs upstream, minus these: compat contrib libunbound/python pythonmod testcode testdata winrc ok deraadt@ jakob@
2016-03-05Almost complete rewrite of mknod.Marc Espie
With this, none of the original code survives, so the Copyright notice can be changed accordingly. This does pledge upfront, because having fifos or devices with setuid/gid/sticky makes no sense anyway. The reorganization was done to allow a "create multiple devices" at once mode, in order to speed up MAKEDEV (eventually) now that the ksh builtin is gone. The code is picky and checks all parameters before doing anything. Inputs from natano, deraadt, rpe, millert, tb, jmc... okay tb@, deraadt@
2016-03-05fix steps for cert creation;Jason McIntyre
issue reported by igor.kos (temporary) fix entirely provided by sthen
2016-03-05Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel.Nicholas Marriott
2016-03-05KNF: wrap three overly long lines. No binary change.tb