summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-01reenable page zeroing thread on SMP mips kernels.Miod Vallat
2015-05-01Do not grab the kernel lock for clock interrupts. Help and ok kettenis@Miod Vallat
2015-05-01mention that the user's shell from /etc/passwd is used for commandsDamien Miller
too; bz#1459 ok dtucker@
2015-05-01refactor ssh_dispatch_run_fatal() to use sshpkt_fatal() to betterDamien Miller
report error conditions. Teach sshpkt_fatal() about ECONNRESET. Improves error messages on TCP connection resets. bz#2257 ok dtucker@
2015-05-01a couple of parse targets were missing activep checks, causing themDamien Miller
to be misapplied in match context; bz#2272 diagnosis and original patch from Sami Hartikainen ok dtucker@
2015-05-01make handling of AuthorizedPrincipalsFile=none more consistentDamien Miller
with other =none options; bz#2288 from Jakub Jelen; ok dtucker@
2015-05-01remove failed remote forwards established by muliplexing from theDamien Miller
list of active forwards; bz#2363, patch mostly by Yoann Ricordel; ok dtucker@
2015-05-01reduce stderr spam when using ssh -S /path/mux -O forward -R 0:...Damien Miller
ok dtucker@
2015-05-01prevent authorized_keys options picked up on public key tests withoutDamien Miller
a corresponding private key authentication being applied to other authentication methods. Reported by halex@, ok markus@
2015-05-01Don't make parsing of authorized_keys' environment= option conditionalDamien Miller
on PermitUserEnv - always parse it, but only use the result if the option is enabled. This prevents the syntax of authorized_keys changing depending on which sshd_config options were enabled. bz#2329; based on patch from coladict AT gmail.com, ok dtucker@
2015-05-01Pass fflag to VOP_POLL so vfs fifo functions can get at the fileTodd C. Miller
flags to check FREAD/FWRITE if needed. This will be used by fifo_poll to avoid checking the write end of the fifo when the fd is read-only. OK guenther@
2015-04-30Convert to if_input().Martin Pieuchot
Tested by jmatthew@
2015-04-30Avoid NULL deref in fd_getfile_mode(); OK deraadt@Todd C. Miller
2015-04-30Convert to if_input().Martin Pieuchot
ok miod@
2015-04-30reapply the rules of english to the option keywords: i was persuaded to undo itJason McIntyre
because the option names are case sensitive, but it just looks awful. so expect just a little more from the reader...
2015-04-30Merge two identical if() statements in ipsp_acquire_sa(). TheTodd C. Miller
change in ip_spd.c 1.59 makes it appear that there is a cut & pasto. OK mikeb@
2015-04-30update currency exchange rates;Jason McIntyre
2015-04-30syncTheo de Raadt
2015-04-30Add smtpd(8) spool directories so that they are registered as part of base.Antoine Jacoutot
ok henning@ gilles@ deraadt@
2015-04-30SIZE_MAX is no longer in limits.hTodd C. Miller
2015-04-30Unset SEPARATE_GOTPLT. We don't want a seperate .got.plt section on OpenBSD,Mark Kettenis
at least for now, as it would result in a partially writable GOT. Our ld.so(1) has the smarts to properly write-protect the single .got, so we don't need this. ok guenther@
2015-04-30Clean up some spacing. No functional changeMike Larkin
2015-04-30use strdup() to init stringTheo de Raadt
ok doug millert
2015-04-30Do not free & reallocate a new chunk of memory for the interfaceMartin Pieuchot
descriptor during SIOCSIFFLAGS. This prevent a use after free, triggered by the pool/malloc damage finder being currently cooked by dlg@ and deraadt@. ok deraadt@
2015-04-30Add a comment about waitpid, suggested by espie@.Nicholas Marriott
2015-04-30Set the correct media type for 1000baseLX SFPs.Jonathan Gray
Tested by/ok sthen@, ok mikeb@
2015-04-30Tweak comment so it doesn't imply line buffering is needed (any will doNicholas Marriott
so long as it is explicit), and set stderr to NBF not LBF. Pointed out by espie@.
2015-04-30Add warning when user specifies -R but no files, like GNU grep.Todd C. Miller
OK schwarze@ ian@
2015-04-30Remove SIZE_MAX from limits.h. It was added years ago before weTodd C. Miller
had a proper stdint.h. No ports fallout. OK guenther@ miod@
2015-04-30Allow use of 1Gb 1000baseLX SFPs in 82599 ix(4) SFP+ port. Adapted fromStuart Henderson
Linux commit 345be204dcbb. ok jsg@ mikeb@
2015-04-30FRELE returns an int not void. It is actually the return valueTodd C. Miller
of fdrop() (or 0 if the ref count is non-zero). From Kanonenvogel
2015-04-30Now we use p_filesz - 1 to test for NUL check that p_filesz isJonathan Gray
at least two and while here allow the upper bound to be MAXPATHLEN by changing a >= to > as suggested by krw@ in a thread on tech where Maxime Villard proposed additional PT_INTERP checks. tested by and ok guenther@
2015-04-30Link report descriptors to known sensors.Martin Pieuchot
Since HID buffers always start by a reportID we can access the corresponding report descriptor in O(1). Having a list of sensors attached to each report descriptor makes it easier to update all of them with only on I/O request. Note that sensors are attached in depency order on every report list. From David Higgs.
2015-04-30Instead of using a single flat array for all sensors, put all theMartin Pieuchot
children of a sensor in a separate structure. Children sensors should only be probbed if their parent is active. This make the dependency tree explicit and will reduce the number of I/O. From David Higgs.
2015-04-30Convert to if_input(), tweak and ok dlg@Martin Pieuchot
2015-04-30Indroduce fd_getfile_mode() and use it were fd_getfile() is directlyMartin Pieuchot
followed by a mode check. This will simplify the ref/unref dance as soon as fd_getfile() will increment fp's reference counter. Idea from and ok guenther@, ok millert@
2015-04-30use adolf, not adolph, for hitler, to keep it consistent;Jason McIntyre
remove his suicide entry since it's already listed, more completely, in calendar.history; from craig skinner
2015-04-30No need to set `rcvif', if_input() does it for you!Martin Pieuchot
2015-04-30Convert moar drivers to if_input().Martin Pieuchot
ok dlg@
2015-04-30Error out if the PT_INTERP segment isn't NUL terminatedPhilip Guenther
ok deraadt@ millert@ miod@
2015-04-29If a block body gets broken, that's no good reason to extend theIngo Schwarze
scope of the end macro. Instead, only keep the tail scope open if the end macro macro calls an explicit macro and actually breaks that. This corrects syntax tree structure and fixes an assertion found by jsg@ with afl (test case 098/Apr27).
2015-04-29Replace the kludge for the \z escape sequence by an actualIngo Schwarze
implementation. As a side effect, minus ten lines of code. As another side effect, this also fixes the assertion failure that used to be triggered by "\z\o'ab'c" at the beginning of an output line, found by jsg@ with afl (test case 022/Apr27).
2015-04-29In most cases, IP fragments do not have an Ethernet padding. SoAlexander Bluhm
add a condition to save a useless call to m_adj() and have a paranoid length check in the other cases. OK henning@
2015-04-29some fine-tuning in SYNOPSIS, usage, and order of options, with jmcHenning Brauer
2015-04-29g/c unneeded second char * var, ok bennoHenning Brauer
2015-04-29Do not complain when directions fail.Nicholas Marriott
2015-04-29Add tmux and tmux-256color entries; this can be used inside tmux forNicholas Marriott
correct italics support. ok naddy (on a slightly older version)
2015-04-29Use if_get() after every tsleep(), in case the bottom half of the driverTheo de Raadt
has destroyed or damaged the interface clone. with mpi
2015-04-29If default-terminal is set to "screen" or "screen-*", emulate screen'sNicholas Marriott
historical (incorrect) behaviour for SGR 3 and send smso (standout). Previously, we would send sitm (italics) if the terminal outside had it and smso otherwise. This was acceptably until recently because xterm's terminfo entry lacked sitm, so most users got smso. People who want italics should set default-terminal to the forthcoming "tmux" entry (and be prepared to deal with it being missing on older hosts). As a side-effect this changes default-terminal to be a server rather than a session option. suggested by and ok naddy
2015-04-29Do not mark a block with the MDOC_BROKEN flag if it merely containsIngo Schwarze
a mismatching explicit end macro without actually being broken. Avoids a subsequent upward search for the non-existent breaker ending up in a NULL pointer access; afl test case 005/Apr27 from jsg@.