FreeBSD/src 3a9cdc5 (r340641) — lib/libc/gen sysconf.c
Make sysconf(_SC_PAGESIZE) return the value from getpagesize(3). That avoids a syscall - getpagesize(3) gets the value from the ELF aux strings. Reviewed by: kib MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D17989
Delta | File | |
---|---|---|
+1 | -4 | lib/libc/gen/sysconf.c |
+1 | -4 | 1 files |