summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-29Final parts of command hooks, add before- and after- hooks to each command.Nicholas Marriott
2016-04-29Panic when attempting to execute a scsi command with no disciplineKenneth R Westerback
defined. Carrying on is pointless. And will currently cause a NULL pointer deref anyway. NULL deref found by mmcc@ and his friend clang. ok deraadt@
2016-04-29Need to set in/out bytes count for gz_write too. Otherwise gzipTodd C. Miller
will think the resulting file was got larger during compression.
2016-04-29The backoff timer is causing no end of trouble with disconnected clientsNicholas Marriott
stopping data in attached ones. So get rid of it and see how we get on with just a high watermark on each pane.
2016-04-29Make the grid_cell passed into screen_write_* const.Nicholas Marriott
2016-04-29Delete invocation of mailq(1) that was present for historical reasons.Ingo Schwarze
On a real mailserver, it's too noisy and may be a privacy concern. On a machine that's not a mailserver, it's pointless. Besides, Theo points out that running subsystems that potentially parse untrusted user data daily, at a predictable time, as root is not a very good idea in the first place. Suggested by millert@; gilles@ matthieu@ deraadt@ sthen@ agree
2016-04-29Do not remove local symbols from the table.Martin Pieuchot
ddb(4) can now see static functions. That doesn't mean we should start declaring functions as ``static'', however it helps for the few existing exceptions. ok deraadt@, kettenis@
2016-04-29In sysmerge interactive mode, check syntax of several important files afterStuart Henderson
merging (currently sshd_config, login.conf, pf.conf) to give some protection against bad merges. feedback/ok ajacoutot@
2016-04-29Do not allow to change the routing table of a bound socket. ThisAlexander Bluhm
is not intended and will behave unexpectedly if the address is already used in another domain. It did not work anyway, as the PCB ended in the wrong hash bucket after changing the rtable. Fail with EBUSY if the socket is already bound and rehash the PCB if its rtable changes. input claudio@; OK mpi@
2016-04-29libotermcap was removed from the miniroots in 2013. Additionally, -lcPatrick Wildt
was added for all miniroots at the same time. ok deraadt@ jsg@
2016-04-29syncPatrick Wildt
ok deraadt@ jsg@
2016-04-29Only focus on the query input box when no manual page is displayed,Ingo Schwarze
that is, for the index page, for the noresult page, and for the result of an apropos(1) query with more than one page. As noted by bentley@, when a manual page is displayed, it is more important that people can quickly use the space bar for paging and Ctrl-F for searching.
2016-04-29Fix keys parsing again to correctly accept Unicode when not prefixedNicholas Marriott
with Escape.
2016-04-29OpenBSD wcwidth() is sensible and complete so if it returns -1 it meansNicholas Marriott
that a character is not printable, so return to ignoring such characters.
2016-04-29fix "smtpctl show queue" reporting "invalid" envelope state.Eric Faurot
runtime state is not serialized with the envelope, so add it to the imsg. ok gilles@
2016-04-29Make if_output() return EAFNOSUPPORT instead of just dropping packetsKenneth R Westerback
and pretending the output succeeded. Packets are still dropped! Idea from jsg@ following same change to bridge(4). ok mpi@
2016-04-29close ControlPersist background process stderr when not inDamien Miller
debug mode or when logging to a file or syslog. bz#1988 ok dtucker
2016-04-28When a group contains a non-existent user, make the warningIngo Schwarze
message more helpful by mentioning the group name. Joint work with Richie at UStA dot de. OK jmatthew@
2016-04-28Avoid unusual Content-Type: even in an example;Ingo Schwarze
people might get hurt when doing copy & paste. Patch from Hiltjo Posthuma <hiltjo at codemadness dot org>. OK florian@ jmc@
2016-04-28provide some examples.David Gwynne
encouragement and reminders from jmc@
2016-04-28careful study of the holy scrolls reveals that for pselect (and ppoll)Ted Unangst
oversized timespecs should be clamped, not rejected. ok millert
2016-04-28Don't add setjmp.S twice.Mark Kettenis
2016-04-28Only one bpf device is required; pointed out by and ok jmcMartin Natano
2016-04-28spelling fix;Jason McIntyre
2016-04-28Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node isMartin Natano
unused for now, but I plan to convert all programs in base to use it in a future diff. /dev/bpf0 is for compatibility with existing binaries and is to be removed after a transition period. ok rpe krw, for the installer part "Let's see it hit the tree." deraadt
2016-04-28Set the "autofocus" attribute on the query text box.Ingo Schwarze
Patch from Fabian dot Raetz at gmail dot com.
2016-04-28syncTheo de Raadt
2016-04-28If the attempt to broadcast a DCHPDISCOVER packet returns EAFNOSUPPORT,Kenneth R Westerback
don't bother to keep trying to get a lease. It ain't gonna happen. Just print and error message and exit.
2016-04-28Include the TLS configuration errors in log messages. Also set theJoel Sing
certificate and private key at the same time.
2016-04-28Crank majors for lib{crypto,ssl,tls} due to symbol removals, symbolJoel Sing
additions and functionality changes.
2016-04-28Factor our the keypair handling in libtls. This results in more readableJoel Sing
and self-contained code, while preparing for the ability to handle multiple keypairs. Also provide two additional functions that allow a public certificate and private key to be set with a single function call. ok beck@
2016-04-28Rework the error handling in libtls so that we can associate errors withJoel Sing
both configuration and contexts. This allows us to propagate errors that occur during configuration, rather than either just failing with no reason or delaying the failure until it can be propagated via the tls context. Also provide a tls_config_error() function for retrieving the last error from a tls_config *. ok bcook@
2016-04-28Plug a couple of leaks of input buffers.Kenneth R Westerback
Pointed out by David Carlier.
2016-04-28Comment sm_check_an_eg().Antoine Jacoutot
2016-04-28don't go into an unbreakable infinite loop during operations suchTed Unangst
as reading passwords. allow ^C to break. the pain was mine, the fix is miod's.
2016-04-28Update regress test to reflect changes in the cipher list.Joel Sing
2016-04-28Preserve the domid when swapping 16 bit grant table entry flagsMike Belopuhov
We use an atomic CMPXCHG on first 32 bits of the grant table entry when revoking access to the memory page. Target domain ID field is part of these 32 bits, thus shouldn't be masked out for comparison. This appears to be the last piece of the QubesOS VM chaining puzzle; tested by Marco Peereboom, thanks!
2016-04-28Implement the IETF ChaCha20-Poly1305 cipher suites.Joel Sing
Rename the existing ChaCha20-Poly1305 cipher suites with an "-OLD" suffix, effectively replaces the original Google implementation. We continue to support both the IETF and Google versions, however the existing names now refer to the ciphers from draft-ietf-tls-chacha20-poly1305-04. Feedback from doug@
2016-04-28Update AEAD regress to match EVP_aead_chacha20_poly1305() changes.Joel Sing
2016-04-28Rename EVP_aead_chacha20_poly1305() to EVP_aead_chacha20_poly1305_old()Joel Sing
and replace with EVP_aead_chacha20_poly1305_ietf(). The IETF version will become the standard version. Discussed with many.
2016-04-28Rework handling of frames which fall beyond the block ack window.Stefan Sperling
tb@ discovered that we were not following the 802.11-2012 standard correctly for frames which fall within the range [winend, windend+winsize]. This could cause valid frames to be dropped because we moved the window too far ahead. with and ok tb@
2016-04-28Display block ack window slide counter.Stefan Sperling
with and ok tb@
2016-04-28Add a net80211 stat counter for block ack window "slides" as opposedStefan Sperling
to "jumps". Will be used soon by refined block ack window handling. netstat needs to be recompiled. With and ok tb@
2016-04-28fix commentDamien Miller
2016-04-281) Split pledge whitelist path handling out of pledge_namei() and intoBob Beck
pledge_namei_wlpath(). Call the wlpath check only at the end of namei after the namei lookup would otherwise succeed. 2) Add support to namei to keep the path that was looked up, without the symlinks in it, and use that path for whitelist path lookups. This means that paths in pledge whitelists will need to always be the real path to an intended file to whitelist, without symlinks. Any symlinks to the "real" file will then be allowed ok deraadt@ semarie@
2016-04-28Account for multiple streams in "gzip -l" output. This fixes "gzipTodd C. Miller
-l" output when used on package files. OK espie@ deraadt@
2016-04-28Simplify TLS configuration handling. Instead of matching by address/port,Joel Sing
match by configuration ID. This also prevents a memory leak when there are multiple certificates specified for the same server. ok beck@
2016-04-28When a frame which falls into the block ack window is received, clearStefan Sperling
counters that keep track of consecutive frames falling outside the window.
2016-04-28Show 11n HT rate in ifconfig scan output. Needs a new kernel.Stefan Sperling
ok mpi@
2016-04-28Copy some ieee8021_node HT information to userspace.Stefan Sperling
ifconfig needs to be recompiled. ok mpi@