summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-07typo in commentDamien Miller
2017-09-07Try both libpthread and RTLD_DEFAULT when looking up functionsPhilip Guenther
so the test can find everything after the libpthread->libc move
2017-09-07Keep histptr inside of the allocated history arrayJeremie Courreges-Anglas
histptr == history -1 means that the history is empty, but the behavior is then undefined. Allocate an extra array entry to work around this. Input & ok tb@
2017-09-07Get IPv4 and IPv6 fragment tests into common shape. Some chunksAlexander Bluhm
were forgotten in previous commit.
2017-09-07Link regress/sys/netinet/frag to build. Get IPv4 and IPv6 fragmentAlexander Bluhm
tests into common shape. Add some missing test cases.
2017-09-07Check return of rtsx_write in previous commit as RTSX_WRITE macroJoshua Stein
does Coverity CID 1455437
2017-09-07Update hardware list.Visa Hankala
2017-09-07Copy IPv6 fragment test cases to IPv4 and adapt to the different Alexander Bluhm
behavior. All tests are run once with pf fragment reassembly and once with pf disabled and IP input reassembly. Three sub tests are currently disabled as the IP stack behaves differently than pf.
2017-09-07Copy IPv6 fragment test cases to IPv4 and adapt to the different Alexander Bluhm
behavior. All tests are run once with pf fragment reassembly and once with pf disabled and IP input reassembly. Three sub tests are currently disabled as the IP stack behaves differently than pf.
2017-09-07typo: convertion -> conventionDavid Coppa
OK schwarze@
2017-09-07Do not fail if unset an option that is already unset, reported by ThomasNicholas Marriott
Sattler.
2017-09-07rework "Errata" to mention syspatch(8);Jason McIntyre
based on a diff from jesper wallin ok aja
2017-09-07nfs_connect() returns EINVAL at the beginning if nm_sotype isAlexander Bluhm
invalid. But the compiler cannot know whether it has changed in the meantime, so in the else case a bunch of variables would not be initialized. Add a panic() there to change the compiler's assumptions, the code should not be reached anyway. found by clang -Wuninitialized; OK deraadt@
2017-09-07In elf_load_file() to not call free(9) with an uninitialized sizeAlexander Bluhm
even if the pointer is NULL. This is not a real bug as free(9) checks the addr pointer before the size value, but the compiler cannot know that. found by clang -Wuninitialized; OK deraadt@
2017-09-07In copycols() remove useless code that modifies the uninitializedAlexander Bluhm
sp variable. Its value is not used, it is overwritten later on. found by clang -Wuninitialized; OK deraadt@
2017-09-07In toshiba_hotkey() initialize the ret value to failure as it isAlexander Bluhm
not set in all code paths. found by clang -Wuninitialized; OK deraadt@
2017-09-07Replace a goto found in the ipq foreach loop with a simple break.Alexander Bluhm
This is a common idiom when a list element has been found. OK visa@ mpi@
2017-09-07unifdef some ancient COMPAT code that's not used. 500 byte blocks!Ted Unangst
noticed by miod
2017-09-06In the case that we want to force a new RAID assembly and the metadataPatrick Wildt
type on the chunks is not the same, we don't actually care because we are going to clear their metadata anyway, so don't error out. This allows assembling a new RAID based on a drive that is zeroed and one that used to be part of a softraid in its previous life. ok jsing@
2017-09-06After recent changes, we need to clear hash, not s1.Theo Buehler
From Scott Cheloha ok deraadt
2017-09-06backout previous diff:Sebastian Benoit
autodetect AF when setting inet6 default route From Denis Fondras, thanks! ok phessler@ bluhm@ it breaks with ipv6 link-local routes, e.g. /sbin/route -inet6 default -ifp pppoe0 fe80::%pppoe0 found by jmc@ ok florian
2017-09-06ntpd has been on by default for over two years now, so reworkJason McIntyre
the text about enabling it; ok deraadt
2017-09-06intvar < sizeof(...) does not catch negative values since an int -> unsignedOtto Moerbeek
conversion is involved. Cast the sizeof to int to get a signed compare; ok deraadt@ bluhm@
2017-09-06fix a NULL pointer access on deroff() failure;Ingo Schwarze
could be triggered with '.SS ""'; reported by Michael <Stapelberg at debian>
2017-09-06Allow two GMX instances on CN70xx/CN71xx to enable all portsVisa Hankala
on the E300 boards.
2017-09-06add support for the Realtek RTS525AJoshua Stein
ok stsp
2017-09-06fix commentJoshua Stein
2017-09-06pflogd(8) currently spams the console on shutdown if syslogd(8) wins theBryan Steele
race to die, so just stop logging pflogd exits. This logging probably comes from the fact that pflogd was largely based on syslogd. Removes the annoying "pflogd[23954]: Exiting" messages pointed out by deraadt@ Also cleanup some missed SIGCHLD handling code that is no longer needed. "LGTM" mikeb@
2017-09-06Do not pass an uninitialized size value to free(9) even if the addrAlexander Bluhm
pointer is NULL as it may generate false positive warnings. requested by markus@
2017-09-06Replace the call to ifa_ifwithaddr() in divert6_output() with aAlexander Bluhm
route lookup to make it MP safe. Only set the mbuf header fields that are needed. Validate the name input. Also use the same variables in IPv4 and IPv6 functions and avoid unneccessary initialization. OK mpi@
2017-09-06use sizeof(variable) instead of sizeof(type) to shorten some codeDavid Gwynne
2017-09-06when pretty printing a pointer, display its value instead of address.David Gwynne
this makes it consistent with printing of other values. ok mpi@
2017-09-06Do not attempt to use TIOCSWINSZ on a -1 file descriptor (possible ifNicholas Marriott
the pane has already died).
2017-09-06replace the DDB_STRUCT backend for "show struct" with ctf code.David Gwynne
this lets you inspect arbitrary memory in the kernel as a specified struct. ok mpi@ jasper@
2017-09-06bump UPAGES to 6.David Gwynne
deraadt@s stack base randomisation may take away up to a whole page in space, and it is possible that i will take another whole page away in the future as a guard page. this means we continue to provide roughtly the same amount of stack space that has previously been in effect. ok deraadt@
2017-09-06Fix declarationsPhilip Guenther
ptrace(PT_IO) memory protection faults return EACCES, not EFAULT
2017-09-06Replace the call to ifa_ifwithaddr() in divert_output() with a routeAlexander Bluhm
lookup to make it MP safe. Only set the mbuf header fields that are needed. Validate the name input. OK mpi@
2017-09-05- split pf_find_or_create_ruleset() to smaller chunks.Alexandr Nedvedicky
tested by Hrvoje OK mpi@, OK bluhm@
2017-09-05Detail how VM guests acquire a nameserver for local interfaces.Edd Barrett
OK mlarkin@, krw@. Thanks!
2017-09-05explicitly clear the output pipeJasper Lievisse Adriaanse
ok mpi@
2017-09-05fork+exec model for pflogd(8); move pcap init to the re-exec'd privsepBryan Steele
parent and use 'legit' fdpassing primitives to send the bpf fd to the unprivileged child process. Also reduces the pledge(2) promises in the unpriv child to just "stdio recvfd" with help from deraadt, pcap feedback from canacar ok deraadt@
2017-09-05Add HISTORY and AUTHORS, using hints from miod@ and my own research.Ingo Schwarze
Sources: http://minnie.tuhs.org/ and the NetBSD CVS.
2017-09-05When starting a new scan always set the mode to AUTO if the driver scansStefan Sperling
all bands at once. Fixes a problem where e.g. 5GHz APs were filtered out if we were previously associated to an 11g-only AP. ok mpi@ phessler@
2017-09-05EPROTO is now in sys/errno.hOtto Moerbeek
2017-09-05Correct a bounds test. Coverity CID 1452930.Jonathan Gray
ok mpi@
2017-09-05When selecting the next wireless mode during the scan loop, always selectStefan Sperling
AUTO mode if the driver scans all bands at once. Otherwise the net80211 layer unnecessarily filters out some of the beacons received by the device. ok phessler@ mpi@ kevlo@
2017-09-05Simplify rtable_mpath_insert().Martin Pieuchot
ok jmatthew@
2017-09-05Test that MPATH routes with different priorities are insterted respectingMartin Pieuchot
their priority order.
2017-09-05Document new test.Martin Pieuchot
2017-09-05Restart the iteration when a multipath list is re-ordered to make sureMartin Pieuchot
no entry are missed. While here do not re-ordered or send messages for route entries that are already in the expected state. Make rttest30 pass. ok gerhard@