freebsd-src/sys
Roy Marples 7045b1603b socket: Implement SO_RERROR
SO_RERROR indicates that receive buffer overflows should be handled as
errors. Historically receive buffer overflows have been ignored and
programs could not tell if they missed messages or messages had been
truncated because of overflows. Since programs historically do not
expect to get receive overflow errors, this behavior is not the
default.

This is really really important for programs that use route(4) to keep
in sync with the system. If we loose a message then we need to reload
the full system state, otherwise the behaviour from that point is
undefined and can lead to chasing bogus bug reports.

Reviewed by:	philip (network), kbowling (transport), gbe (manpages)
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D26652
2021-07-28 09:35:09 -07:00
..
amd64 xen/timer: make xen timer optional 2021-07-28 17:27:03 +02:00
arm allwinner: rsb: Set the PMIC to RSB mode 2021-07-24 17:46:25 +02:00
arm64 Add macros for arm64 special reg op and CR values 2021-07-28 01:34:21 +00:00
bsm
cam cam: clear stack-allocated CCB in the target layer 2021-07-21 10:18:28 +01:00
cddl
compat LinuxKPI: add read_poll_timeout() 2021-07-28 16:21:12 +00:00
conf xen/timer: make xen timer optional 2021-07-28 17:27:03 +02:00
contrib ena: Remove redundant declaration of ena_log_level. 2021-07-23 16:07:35 -07:00
crypto crypto: Constify all transform descriptors 2021-07-26 16:41:05 -04:00
ddb fix style nit: space after if 2021-05-05 15:26:09 -06:00
dev xen: introduce xen_has_percpu_evtchn() 2021-07-28 17:27:05 +02:00
dts arm64: allwinner: dtbo: Add dtb overlays to disable mmc node 2021-07-24 22:53:33 +02:00
fs nullfs: provide custom null_rename bypass 2021-07-27 19:58:48 +03:00
gdb
geom geom_disk: use a preallocated geom_event for disk destruction. 2021-07-23 18:08:52 -06:00
gnu
i386 xen/timer: make xen timer optional 2021-07-28 17:27:03 +02:00
isa newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
kern socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
kgssapi
libkern Switch to an ifunc in the kernel for crc32c 2021-07-22 20:54:21 +00:00
mips Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
modules ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
net socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
net80211 net80211: ieee80211_probereq_ie fix length calculation for hw scans 2021-06-28 12:17:11 +00:00
netgraph socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
netinet socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
netinet6 socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
netipsec socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
netpfil pf: Validate user string nul-termination before copying 2021-07-28 10:41:01 -04:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-05-26 10:45:40 -04:00
nfs
nfsclient
nfsserver
nlm
ofed ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
opencrypto crypto: Constify all transform descriptors 2021-07-26 16:41:05 -04:00
powerpc powerpc64: add Power8 and Power9 PMCs 2021-07-26 10:27:23 -03:00
riscv riscv: Fix pmap_kextract racing with concurrent superpage promotion/demotion 2021-07-22 20:02:14 +01:00
rpc Consistently use the SOLISTENING() macro 2021-06-14 17:32:27 -04:00
security mac: cheaper check for ifnet_create_mbuf and ifnet_check_transmit 2021-06-29 15:06:45 +02:00
sys socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
teken
tests tests: Revise FIB lookups per second benchmarking routines 2021-06-17 08:49:09 +02:00
tools booti: Enable loading the kernel image to any address aligned to 2 MB 2021-07-28 13:42:13 +02:00
ufs FFS: remove ffs_fsfail_task 2021-07-24 12:52:41 -07:00
vm redzone: Raise a compile error if KASAN is configured 2021-07-23 10:47:13 -04:00
x86 xen: introduce xen_has_percpu_evtchn() 2021-07-28 17:27:05 +02:00
xdr
xen xen: introduce xen_pv_disks_disabled() 2021-07-28 17:27:04 +02:00
Makefile