summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-21whitespace botch.Kenneth R Westerback
2017-07-21Document settings for XenServerMike Belopuhov
Figured out by Dinar Talypov and Maxim Khitrov. With input from deraadt@ and schwarze@. OK schwarze.
2017-07-21Add a newlineJeremie Courreges-Anglas
2017-07-21No need for ioctl(SIOCGIFDATA), getifaddrs(3) gives us the link stateJeremie Courreges-Anglas
Noticed while reviewing a pledge(2) diff from Rob Pierce. ok florian@
2017-07-21autoinstall(8) related global variables are prefixed with AI_.Robert Peichaer
RESPFILE -> AI_RESPFILE OK krw@ tb@
2017-07-21Add frame length boundary checks to the input path of atu(4).Stefan Sperling
Problem found by Ilja Van Sprundel. ok kevlo
2017-07-21document that usage of .PHONY, since it's not exactly obvious.Marc Espie
okay schwarze@
2017-07-21Trim trailing spaces from full line when it is clearly OK to do so.Nicholas Marriott
2017-07-21More consistent with other architectures.Kenji Aoyama
2017-07-21Unbreak the rsu(4) driver which was not kept up-to-date with recent WPAStefan Sperling
supplicant and net80211 state machine changes. While here, make rsu(4) report the correct channel for received frames to tcpdump(8). ok deraadt@
2017-07-21Fix frame length bounds checks in rsu(4).Stefan Sperling
Due to signedness issues the existing checks didn't work as intended. Problem reported by Ilja Van Sprundel. ok deraadt@
2017-07-21Allow ispunct() as well as isalnum() when parsing initial window names.Nicholas Marriott
2017-07-21Fixup too much indentationMike Belopuhov
2017-07-21Garbage collect unused manual page .SUFFIXES, left overIngo Schwarze
years ago when we formatted manual pages at build time. Opportunity for cleanup discovered by espie@. Make build & release in base and Xenocara checked myself, and checked in a bulk build by ajacoutot@. OK espie@ millert@ deraadt@
2017-07-21fix two nasty out-of-bound accesses that killed (sporadically mk38 and mk38bis.Marc Espie
prodded by bluhm@, okay bluhm@
2017-07-21Accessing a mmap(2)ed file behind its end should result in a SIGBUSMark Kettenis
according to POSIX. ok bluhm@, deraadt@
2017-07-21Add -c for respawn-pane and respawn-window, from J Raynor.Nicholas Marriott
2017-07-21I'm equally upset as Kurt Mosiejczuk, who found irrelevant 22-yearTheo de Raadt
old history in this manual page.
2017-07-21Check the hibernation signature for softraid disks and select valid bsdYASUOKA Masahiko
for unhibernation. reported by Natasha Kerensikova. tested by Theo Buehler. ok deraadt
2017-07-21Drop Rx'd frames larger than MCLBYTES.Kevin Lo
Problem reported by Ilja Van Sprundel. ok stsp@, tb@
2017-07-20Make otus(4) drop frames larger than MCLBYTES.Stefan Sperling
Problem reported by Ilja Van Sprundel. ok deraadt@ tb@
2017-07-20extra test because mk38 triggers two issues and fixing the first oneMarc Espie
makes the second one vanish
2017-07-20Fixup pf109.ok and rewrite pf110Mike Belopuhov
2017-07-20Bring SIBUS/SIGSEGV reporting in line with amd64 and i386.Mark Kettenis
ok deraadt@, bluhm@
2017-07-20Move the execution of the {install,upgrade}.site script to the endRobert Peichaer
of the install/upgrade process. OK tb@
2017-07-20Allow leading . in nameConstraints. from openssl via jabberwock. ok jsingTed Unangst
2017-07-20When receiving a struct sockaddr from userland, enforce that memoryAlexander Bluhm
for sa_len and sa_family is provided. This will make handling of socket name mbufs within the kernel safer. issue reported by Ilja Van Sprundel; OK claudio@
2017-07-20Don't exit on invalid config lines, yet return a proper exit status.Jeremie Courreges-Anglas
newsyslog(8) is mainly used to proces log files, not rotating them because of an invalid field means that /var will end up full. Initially I wanted to ignore only getpwnam/getgrnam errors, but millert@ convinced me otherwise. malloc(3) errors are still fatal. Diff prompted by a report from Harald Dunkel, ok millert@
2017-07-20Start a list of isa(4) device names such that we can avoid printing themMark Kettenis
as "not configured". ok mikeb@, millert@, deraadt@
2017-07-20Accessing a mmap(2)ed file behind its end should result in a SIGBUSAlexander Bluhm
according to POSIX. Bring regression test and kernel in line for amd64 and i386. Other architectures have to follow. OK deraadt@ kettenis@
2017-07-20Restore RTM_DELADDR/RTM_NEWADDR monitoring to theKenneth R Westerback
minimum required to ensure that resolv.conf is written out on startup/HUP. Noticed by and fix tested by jmc@
2017-07-20Rename TBUF_LEN and FMT_LEN to _SIZE as they contain a NUL byte.Alexander Bluhm
Change FMT_SIZE to 1024+1 for consistency. Do not loop over the format string if there is no output space left. OK deraadt@ millert@
2017-07-20Remove SIGIO support. Base tools do not implement it and ports relyingMartin Pieuchot
on libusbhid, generally via SDL, shouldn't do it either since it's not portable. Suggested by deraadt@ after Ilja van Sprundel reported an issue with a stale struct proc pointer in similar code. ok kettenis@, deraadt@
2017-07-20Initialize a local variable to not leak kernel stack info to userlandMartin Pieuchot
if TIOCGPGRP fail. Issue found by Ilja van Sprundel. ok bluhm@, millert@, deraadt@
2017-07-20Avoid cross reference to mandoc(1) because it may cause a messageIngo Schwarze
on other operating systems where mandoc is not installed, causing the test to fail in the portable test suite.
2017-07-20update link to mandoc.bsd.lvIngo Schwarze
2017-07-20When login_skey was called for a user without skey, it crashed withAlexander Bluhm
NULL pointer dereference. It tried to pass a file descriptor that did not exist. This has to be done conditionally. bug found by Raimund Specht with process accounting; OK millert@
2017-07-20For -Tlint, put parser messages on stdout instead of stderr.Ingo Schwarze
Originally, naddy@ requested this in 2011 (or maybe even earlier). It was discussed with joerg@, kristaps@, naddy@, and espie@ in 2011, and everybody agreed in principle, but it was postponed because kristaps@ wanted to do some cleanup of the message system first. Meanwhile, message infrastructure was improved about a dozen times... This makes long, tedious commands like "mandoc -Tlint *.1 2>&1 | less" unnecessary and allows simple ones like "man -l -Tlint *.1".
2017-07-20Do not call err(3) from the parser. Call mandoc_vmsg() andIngo Schwarze
return failure such that we can continue with the next file.
2017-07-20Add missing <time.h> header.Okan Demirmen
ok joris@
2017-07-20correctly handle letters in .Nx arguments; improves for exampleIngo Schwarze
getpgid(2), ac(8), ldconfig(8), mount_ffs(8), sa(8), ttyflags(8), ...
2017-07-20Kernel relinking for luna88k, first step.Kenji Aoyama
Not yet split locore.S to locore.S and locore0.S. ok deraadt@
2017-07-20Add comments to explain correct code that might look wrong.Alexandre Ratchov
2017-07-20Fix debug printf used to report kernel bugs: print par.bps insteadAlexandre Ratchov
of par.bits. Found by coverity.
2017-07-20Fix integer overflow that would causes >12 hours filesAlexandre Ratchov
to not properly relocate. Found with coverity.
2017-07-20If pool_get() sleeps while allocating additional memory for socketAlexander Bluhm
splicing, another process may allocate it in the meantime. Then one of the splicing structures leaked in sosplice(). Recheck that no struct sosplice exists after a protential sleep. reported by Ilja Van Sprundel; OK mpi@
2017-07-20Zap space between function name and parens.anton
ok deraadt@ rpe@ tb@
2017-07-20Replace usage of strtol() with strtonum().anton
ok bentley@ deraadt@ millert@ tb@
2017-07-20Enable RX aggregation, fix configuring custom MAC address and removeMartin Pieuchot
double reset sequence. From and tested by sc.dying at gmail on RTL8152 (ver 4c10) and RTL8153 (ver 5c20).
2017-07-20Extend the scope of the socket lock in soo_stat() to protect `so_state'Martin Pieuchot
and `so_rcv'. ok bluhm@, claudio@, visa@