freebsd-dev/sys
Konstantin Belousov 57c2505e65 On error, sbuf_bcat() returns -1. Some callers returned this -1 to
the upper layers, which interpret it as errno value, which happens to
be ERESTART.  The result was spurious restarts of the sysctls in loop,
e.g. kern.proc.proc, instead of returning ENOMEM to caller.

Convert -1 from sbuf_bcat() to ENOMEM, when returning to the callers
expecting errno.

In collaboration with:	pho
Sponsored by:	The FreeBSD Foundation (kib)
MFC after:	1 week
2014-10-05 17:35:59 +00:00
..
amd64 Get rid of code that dealt with the hardware not being able to save/restore 2014-10-02 05:32:29 +00:00
arm Allow timer0 to run at full 24MHz not at 24MHz/16 by setting prescale to 1. 2014-10-02 06:00:55 +00:00
boot Rework bootparttest to use more code from sys/boot. 2014-10-05 06:04:47 +00:00
bsm
cam Use REPORT LUNS command for SPC-2 devices with LUN 0 disconnected. 2014-10-02 10:58:52 +00:00
cddl Don't make nested definition for range_seg_cache. 2014-10-04 15:42:52 +00:00
compat Fix fcntl(2) compat32 after r270691. The copyin and copyout of the 2014-09-25 21:07:19 +00:00
conf Add kernel option KSTACK_USAGE_PROF to sample the stack depth on 2014-10-04 18:38:14 +00:00
contrib ipfilter bug #537 NAT rules with sticky have incorrect hostmap IP address. 2014-10-05 03:58:30 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
dev vt(4): Don't recalculate buffer size if we don't know screen size 2014-10-04 18:40:40 +00:00
fs Make autofs use shared vnode locks. 2014-10-04 09:37:40 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Fix a bug in r272297 which prevented dumpdev from setting. 2014-10-03 04:13:25 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 Merge pc98's machdep.c into i386/i386/machdep.c. 2014-10-04 06:01:30 +00:00
isa
kern On error, sbuf_bcat() returns -1. Some callers returned this -1 to 2014-10-05 17:35:59 +00:00
kgssapi
libkern Use __DECONST to avoid compiler warnings (and thus build failures) 2014-09-08 08:12:09 +00:00
mips Fix the AR724x PCIe glue to correctly probe the BAR on AR7240 devices. 2014-09-28 07:27:58 +00:00
modules - Refactor defining variables. 2014-10-05 07:27:05 +00:00
net Use printb() for boolean flags in ro_opts and actor_state for LACP. 2014-10-05 02:37:01 +00:00
net80211 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:55 +00:00
netgraph Use callout(9) instead of timeout(9). 2014-09-20 16:43:14 +00:00
netinet Eliminate use of M_EXT in IP6_EXTHDR_CHECK() by trimming a redundant 2014-10-05 06:28:53 +00:00
netinet6 UPD and UDPLite require a checksum. So check for it. 2014-10-03 08:46:49 +00:00
netipsec Do not strip outer header when operating in transport mode. 2014-10-02 02:00:21 +00:00
netnatm
netpfil Bump max rule size to 512 opcodes. 2014-10-04 12:46:26 +00:00
netsmb
nfs Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfsclient Avoid an exclusive acquisition of the object lock on the expected execution 2014-09-14 18:07:55 +00:00
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm
ofed Mechanically convert to if_inc_counter(). 2014-09-27 20:39:24 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 Merge pc98's machdep.c into i386/i386/machdep.c. 2014-10-04 06:01:30 +00:00
powerpc Fix a paste-o commited in r272109: we need to get the interrupts for the 2014-09-26 15:16:53 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
sys Get rid of crshared. 2014-10-05 02:16:53 +00:00
teken
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs Provide the unique implementation for the VOP_GETPAGES() method used 2014-09-15 12:28:29 +00:00
vm Remove stray uma_mtx lock/unlock in zone_drain_wait() 2014-10-05 03:18:30 +00:00
x86 xen: add the Xen implementation of pci_child_added method 2014-09-30 16:49:17 +00:00
xdr
xen xen: convert the xenstore user-space char device to a newbus device 2014-09-30 17:31:04 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00