freebsd-dev/sys
Gleb Smirnoff 65572cade3 unix/dgram: return EAGAIN instead of ENOBUFS when O_NONBLOCK set
This is behavior what some programs expect and what Linux does.  For
example nginx expects EAGAIN when sending messages to /var/run/log,
which it connects to with O_NONBLOCK.  Particularly with nginx the
problem is magnified by the fact that a ENOBUFS on send(2) is also
logged, so situation creates a log-bomb - a failed log message
triggers another log message.

Reviewed by:		markj
Differential revision:	https://reviews.freebsd.org/D34187
2022-02-14 09:21:55 -08:00
..
amd64 proc: load/store p_cowgen using atomic primitives 2022-02-13 13:07:08 +00:00
arm proc: load/store p_cowgen using atomic primitives 2022-02-13 13:07:08 +00:00
arm64 aarch64: Add static asssert for context size 2022-02-10 14:32:20 -07:00
bsm
cam Fix non-printable characters in NVMe model and serial numbers. 2022-02-09 17:09:25 -05:00
cddl
compat LinuxKPI; add the beginning of a tracepoint.h implementation 2022-02-14 00:24:43 +00:00
conf newvers.sh: allow multiple -V args in one invocation 2022-02-12 11:06:54 -05:00
contrib xen: import Xen 4.16 public headers in sys/contrib/ 2022-02-07 10:11:56 +01:00
crypto
ddb
dev bwi: Fix clang 14 warning about possible unaligned access 2022-02-13 14:35:58 +01:00
dts dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitions 2022-02-03 21:26:45 -08:00
fs msdosfs: Fix mounting when the device sector size is >512B 2022-02-14 10:06:47 -05:00
gdb
geom In GEOM debugging output, show consumer for cloned and duplicated bio's. 2022-01-30 17:21:13 -08:00
gnu
i386 proc: load/store p_cowgen using atomic primitives 2022-02-13 13:07:08 +00:00
isa
kern unix/dgram: return EAGAIN instead of ENOBUFS when O_NONBLOCK set 2022-02-14 09:21:55 -08:00
kgssapi
libkern
modules Disable clang 14 warning about bitwise operators in zstd 2022-02-08 21:46:08 +01:00
net if_vxlan(4): Allow netmap_generic to intercept RX packets. 2022-02-06 15:27:46 +03:00
net80211
netgraph ng pppoe(4): Add the required NET_EPOCH section to the hook 2022-02-09 22:00:50 +03:00
netinet TCP syncache: enhance KASSERT output 2022-02-14 00:03:20 +00:00
netinet6
netipsec
netpfil dummynet: don't use per-vnet locks to protect global data. 2022-02-07 22:59:46 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed mlx5ib: Add support for parsing udata in mlx5_ib_create_flow(). 2022-02-10 11:17:42 +01:00
opencrypto
powerpc proc: load/store p_cowgen using atomic primitives 2022-02-13 13:07:08 +00:00
riscv riscv: Add static asssert for context size 2022-02-10 14:32:21 -07:00
rpc
security
sys fd: add FILEDESC_FOREACH_{FDE,FP} 2022-02-13 13:07:08 +00:00
teken
tests
tools
ufs ffs_read(): lock buffers after snaplk with LK_NOWITNESS 2022-02-06 03:26:22 +02:00
vm Revert "vm_pageout_scans: correct detection of active object" 2022-02-10 16:55:10 +02:00
x86 xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
xdr
xen xen: remove public headers in sys/xen/interface 2022-02-07 10:12:34 +01:00
Makefile