Age | Commit message (Collapse) | Author |
|
Tweak standards exposure of memchr (never) and strdup (POSIX-2008)
Remove unnecessary tests of __BSD_VISIBLE
ok millert@
|
|
if it is a normal client closure; bz#2057 ok+feedback dtucker@
|
|
being checked after it was overwritten by the next block read in.
Eliminate the argument aliasing that led to this being overlooked
by passing rd_xheader() the size and typeflag directly.
problem discovery and ok fgsch@
|
|
SIGSEGV the process; if occuring in kernel mode, check for a possible
pcb_onfault to recover, before otherwise panicing.
ok kettenis@
|
|
This is a temporary (ugly) fix, the pool init call should be moved from
linux_elf_probe into a better place.
|
|
|
|
|
|
|
|
destroyed, from George Nachman.
|
|
|
|
|
|
move them to the corresponding header with an appropriate comment if
necessary.
ok guenther@
|
|
ok mglocker@
|
|
already in memory retrieved during the autoconf USB attach logic. This
is a good example of how confusing can be the usbd_get_* functions.
ok mglocker@
|
|
them.
ok ratchov@, mglocker@
|
|
|
|
sysctl({CTL_USER,USER_CS_PATH}). Expand that into the manpage
too.
_PATH_STDPATH suggested by miod@
Corrections from schwarze@ and jmc@
ok millert@ miod@ schwarze@ jmc@
|
|
ok millert@
|
|
number match during signature block read during speculative unhibernate on
boot. If the magic number matches but we have otherwise chosen to not
unhibernate (due to kernel/memory mismatch), clear the signature block
early to avoid accidentally trying to unhibernate on subsequent boots. This
prevents accidental unhibernates and endless unhibernate/reboot cycles.
Add a define for HIBERNATE_DEBUG for various debugging printfs (disabled by
default).
Finally, change some KASSERTs to warning printfs (they probably shouldn't
have been KASSERTs in the first place).
"looks good" deraadt@
|
|
kernel version ID with, but it did not account for spaces in the name,
leading to version strings like "OpenBSD 5.3-current ()". Quote the
call to basename to permit paths with spaces in the name.
ok halex@, deraadt@
|
|
handled.
input from zhuk and guenther. tested by zhuk and sthen on a bulk.
ok guenther.
|
|
prompted by deraadt@, ok claudio@ chl@ guenther@
|
|
an https server attempts renegotiation. ok jung@
|
|
used, so do not pretend to support a different one and get rid
of the unused usbd_do_request_flags_pipe() function.
ok mglocker@
|
|
directly this also makes it easier to understand which function actually
generates IO.
ok mglocker@
|
|
ok mikeb@, markus@
|
|
|
|
|
|
Diff from Christian Groessler (chris (at) groessler.org)
|
|
Diff from Silamael (Silamael (at) coronamundi.de)
|
|
but in one case change the errno value that gets returened to match Linux.
|
|
to the given size and return the packet length.
issue spotted by weerd@
|
|
|
|
|
|
divert(4) sockets.
Recalculation of these checksums is necessary because (1) PF no longer
updates IP checksums as of pf.c rev 1.731, so translated packets that
are diverted to userspace (e.g. divert-packet with nat-to/rdr-to) will
have bad IP checksums and will be reinjected with bad IP checksums if
the userspace program doesn't correct the checksums; (2) the userspace
program may modify the packets, which would invalidate the checksums;
and (3) the divert(4) man page states that checksums are supposed to be
recalculated on reinjection.
This diff has been tested on a public webserver serving both IPv4/IPv6
for more than four weeks. It has also been tested on a firewall with
divert-packet and nat-to/rdr-to where it transferred over 60GB of
FTP/HTTP/HTTPS/SSH/DNS/ICMP/ICMPv6 data correctly, using IPv4/IPv6
userspace programs that intentionally break the IP and protocol
checksums to confirm that recalculation is done correctly on
reinjection. IPv6 extension headers were tested with Scapy.
Thanks to florian@ for testing the original version of the diff with
dnsfilter and Justin Mayes for testing the original version with Snort
inline. Thanks also to todd@ for helping me in my search for the cause
of this bug.
I would especially like to thank blambert@ for reviewing many versions
of this diff, and providing guidance and tons of helpful feedback.
no objections from florian@
help/ok blambert@, ok henning@
|
|
properties discovered in 43, but i've left the recorded date as the
first synthesised one;
from James J. Lippard
|
|
|
|
Those are the equivalents for ugen(4)'s USB_GET_CONFIG_DESC and
USB_GET_FULL_DESC.
Help and OK mpi@, jmc@
|
|
|
|
|
|
feedback/ok halex@ krw@
|
|
The ${bootcmd}
needs to be something like 'bootoctlinux root=/dev/octcf0'.
This will be temporary untill we have proper bootblocks, but for now, this (in combination)
with an upcoming installer diff allows my CAM-0100 to autoboot straight of the disk, without
having to load the kernel via TFTP.
ok bcallah@ yasuoka@
|
|
This fixes hostname resolution for OpenVPN 2.3.1.
ok eric@.
|
|
|
|
spotted by deraadt@
|
|
|
|
From FreeBSD
ok kevlo@
|
|
|
|
from linux 3.8.6
|
|
from linux 3.8.6
|