freebsd-dev/lib/libc
Mateusz Guzik d05b53e0ba Add sysctlbyname system call
Previously userspace would issue one syscall to resolve the sysctl and then
another one to actually use it. Do it all in one trip.

Fallback is provided in case newer libc happens to be running on an older
kernel.

Submitted by:	Pawel Biernacki
Reported by:	kib, brooks
Differential Revision:	https://reviews.freebsd.org/D17282
2019-09-03 04:16:30 +00:00
..
aarch64
amd64
arm
capability
compat-43
db
gdtoa
gen Add sysctlbyname system call 2019-09-03 04:16:30 +00:00
gmon
i386
iconv
include
inet
isc
locale
md
mips mips: fix some mcount nits 2019-09-02 01:55:55 +00:00
nameser
net Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
nls
posix1e
powerpc
powerpc64
powerpcspe
quad Revert r351078, r351085: stand/quad.h eviction 2019-08-15 17:15:32 +00:00
regex
resolv
riscv
rpc Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
secure
softfloat
sparc64
stdio libc: remove gets 2019-09-01 16:12:05 +00:00
stdlib
stdtime
string libc: Use musl's optimized memchr 2019-09-02 13:56:44 +00:00
sys Add sysctlbyname system call 2019-09-03 04:16:30 +00:00
tests Unskip test cases from netbsd-tests by defining __HAVE_FENV 2019-08-31 20:45:45 +00:00
uuid
x86
xdr
yp
libc_nossp.ldscript
libc.ldscript
Makefile
Makefile.depend
Versions.def