summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-09Nope, the right byte layout is happening, but we still need to figure outTheo de Raadt
a reported baddir panic. Discussed with guenther tedu kettenis millert..
2019-05-09Don't unconditionally throw away dma memory when we don't need to.Bob Beck
Noticed by me and otto@ ok tedu@
2019-05-09Document KERN_PFSTATUSClaudio Jeker
2019-05-09Use the new sysctl to print systat pf 1. This now works even for unprivedClaudio Jeker
users. OK deraadt@, sashan@
2019-05-09Add a sysctl accessor to struct pf_status. The pf_status only holds theClaudio Jeker
current status and statistics and can be exported without super-user rights via sysctl to make it easier for tools like systat to access those. OK deraadt@, sashan@
2019-05-09For filenames which are a multiple of 4 bytes long, the zero pad isTheo de Raadt
incorrectly placed underneath the last 4 bytes (and then overwritten) rather than afterwards. We got confused and followed FreeBSD's lead, which curiously increased the leakage of kernel stack from 3 bytes to 4... ok millert kettenis
2019-05-09ftp makes a new connection for each auto-fetch file. Remove a lie claimingChristian Weisgerber
otherwise. ok tb@ tedu@
2019-05-09add free sizesBrent Cook
ok tedu
2019-05-09we don't need to check rtisvalid() in these places, the functions we arePeter Hessler
protecing will do the right thing OK claudio@
2019-05-09Save mouse buttons as well as position.Nicholas Marriott
2019-05-09disable stack printing for now since at least arm64 can't print themTed Unangst
reported by kettenis
2019-05-09send-keys also needs to insert key commands in the right order.Nicholas Marriott
2019-05-09Eliminate 'make clean' stops with 'rmdir: .: Invalid argument'.Kenji Aoyama
2019-05-09actual timeout is smaller.Marc Espie
document LISTING_EXTRA
2019-05-09delete five unused macrosIngo Schwarze
2019-05-09UTF-8 cleanup in the function pshift().Ingo Schwarze
Use the standard functions mbtowc(3), wcwidth(3), iscntrl(3) instead of bad functions like get_wchar(), utf_len(), is_wide_char(), is_composing_char(), is_combining_char(), control_char(). If only half of a double-width character is shifted off screen, do not inspect anything following it because that clearly remains on-screen. Improve and add comments. OK millert@
2019-05-09be more thorough in describing what register-plist does.Marc Espie
also document -p, used by check-register ... and @version bumps.
2019-05-09Change swap-window -d to be the other way round (stay with src window),Nicholas Marriott
so it works like swap-pane.
2019-05-09Add formats to show if pane is the marked pane and if any marked pane is set.Nicholas Marriott
2019-05-09When changing device rate, send request to the clock source unit.Alexandre Ratchov
Currently we send the request to the unit indicated as clock source of the terminals, which may be a clock selector unit that doesn't support the request. Fix this by following the clock source path until the clock source unit is found.
2019-05-09Set the rate of UAC v2.0 clock units using the control interface, notAlexandre Ratchov
a random streaming iface.
2019-05-09Skip empty control interfaces when parsing descriptors.Alexandre Ratchov
Even if having multiple control interface descriptors is not allowed by the UAC spec, there's no reason to stop as long as a proper control interface was processed.
2019-05-09Don't forget about previous dhcp configuration attemptsKenneth R Westerback
when restarting an install. Even if the original dhcp attempt did not successfully get a lease and configure the interface. ok beck@ florian@
2019-05-09Proper prototype for main(). Make sparc64 happier.Claudio Jeker
2019-05-09Implement set_rate() method for M-Audio Audiophile 192k cards.Alexandre Ratchov
It switches the AK5385 and the AK4358 chips between single-, double- or quad-speed modes depending on the host sample rate. Help and testing by Andrey Oktyabrskiy <ano at bestmx.net>. Thanks!
2019-05-09Add ucrcom(4) a (very simple) driver for the serial console of (some)Mark Kettenis
chromebooks. ok deraadt@
2019-05-08convert system() calls to an execv() like interface.Ted Unangst
avoids sh difficulties, etc. from Matthew Martin. ok deraadt reyk
2019-05-08rm dead code and simplify ftpd_popen. this code has only calledTed Unangst
its statically linked ls_main for some time now. from Jan Klemkow ok deraadt
2019-05-08Enable ucrcom(4) on all architectures that have uslcom(4).Mark Kettenis
ok deraadt@
2019-05-08allow switching to print stats since boot via 'b'.Ted Unangst
ok beck deraadt
2019-05-08Add ucrcom(4) a (very simple) driver for the serial console of (some)Mark Kettenis
chromebooks. ok deraadt@
2019-05-08print a few warnings when calling free with a zero size.Ted Unangst
let's see what falls out. ok beck deraadt kettenis mpi
2019-05-08regenMark Kettenis
2019-05-08add Google vendor IDMark Kettenis
2019-05-08In DTLS, use_srtp is part of the extended server hello while in TLSv1.3,Theo Buehler
it is an encrypted extension. Include it in the server hello for now. This will have to be revisited once TLSv1.3 gets there. Fixes SRTP negotiation. Problem found by two rust-openssl regress failures reported by mikeb. with & ok beck
2019-05-08Add wait_event_killable(). In linux TASK_KILLABLE only gets fatalJonathan Gray
signals, as we don't have an equivalent use PCATCH and check for all signals before and after msleep. Discussed with kettenis@.
2019-05-08Move the magic ping6 IPv6 default router discovery so we probe allKenneth R Westerback
relevant interfaces at once, and ask for a user decision right after we ask for the IPv4 default route. ok florian@
2019-05-08Fix and tweak websocket upgrade handling.Reyk Floeter
- Don't expect the Connection header to equal Upgrade, it may include Upgrade - Reshuffle the code to check the Upgrade/Connection headers in one place Reported and tested by Rivo Nurges OK and input from benno@ Cvs: ----------------------------------------------------------------------
2019-05-08Fix overflow tests such that we can allocate arrays with zero items.Mark Kettenis
Linux allows this sillyness and it is needed to make X work on the integrated graphics on the AMD Ryzen 3 PRO 2200GE APU. ok jsg@
2019-05-08On retguard systems, remove the ld.so-local stack-protector handlingTheo de Raadt
functions because retguard uses hard-traps instead. ok mortimer.
2019-05-08add cmpxchg() with same implementation as atomic_cmpxchg()Jonathan Gray
2019-05-08Switch domain-search parsing from hand rolled hex string toKenneth R Westerback
human readable list of strings. Slightly tweaked version of a diff from William Ahern via tech@. Long silence on all fronts leads to community based testing.
2019-05-08 When starting up use the built-in DNSSEC trust anchor as well as theFlorian Obser
on-disk one to give us a better chance on root KSK roll. Either we were online during the time the key rolled or we are running on a version of unwind(8) that has the new KSK.
2019-05-08initialize safestack pointersBrent Cook
ok beck@, tb@
2019-05-08The QUERY_STRING macro is not actually URL encoded, so fix the manual.Theo Buehler
Add a QUERY_STRING_ENC macro that is URL encoded. Patch from Tim Baumgartner ok reyk
2019-05-08Set the REQUEST_URI CGI variable to the requested URI and query stringTheo Buehler
instead of the rewritten path and query string. Patch from Tim Baumgard, reminded by Mischa Peters. ok benno, reyk
2019-05-08pfctl should check pfctl.astack is not overrunAlexandr Nedvedicky
(bug found and fixed by Petr Hoffmann _at_ oracle.com) OK kn@
2019-05-08remove sess argument from all functions that only used it for loggingSebastian Benoit
functions. ok deraadt@
2019-05-08update to PF pfctl(8) and pf.conf(5) manpagesAlexandr Nedvedicky
great input by Ingo, Jason and Klemens OK schwarze@, OK kn@, OK jmc@
2019-05-08Call _csu_finish() before {pre,}init_array functions so that in staticPhilip Guenther
executables the TIB and __progname are set up before they can be used. problem noted by ori@ ok millert@ kettenis@