freebsd-dev/sys/compat
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
..
cloudabi kern_shm_open: push O_CLOEXEC into caller control 2019-07-31 15:16:51 +00:00
cloudabi32 makesyscalls.sh: always use absolute path for syscalls.conf 2019-05-30 20:56:23 +00:00
cloudabi64 makesyscalls.sh: always use absolute path for syscalls.conf 2019-05-30 20:56:23 +00:00
freebsd32 Add sysctlbyname system call 2019-09-03 04:16:30 +00:00
ia32 Make randomized stack gap between strings and pointers to argv/envs. 2019-07-31 20:23:10 +00:00
lindebugfs LinuxKPI: Finalize move of lindebugfs from ports to base. 2019-05-19 15:44:21 +00:00
linprocfs Decode more CPU flags in cpuinfo. 2019-05-03 08:27:03 +00:00
linsysfs Remove wrong copyright line. Discussed with Carlos Neira. 2019-05-07 05:08:13 +00:00
linux Bump Linux version to 3.2.0. Without it, binaries linked against 2019-09-02 18:10:35 +00:00
linuxkpi/common LinuxKPI: Add sysfs create/remove functions that handles multiple files in one call. 2019-09-02 14:51:59 +00:00
ndis Fix compilation with 'option NDISAPI + device ndis' and 2019-01-30 11:40:12 +00:00
netbsd sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
x86bios x86bios: use M_NOWAIT with mallocs 2018-09-13 07:04:00 +00:00