opnsense-src/lib/libc
Brooks Davis ea180bb379 getpagesize(3): drop support for non-ELF kernels
AT_PAGESZ was introduced with ELF support in 1996 (commit
e1743d02cd) so we can safely count on
being able to use it to get our page size via elf_aux_info().  As such
we don't need a fallback sysctl query.

Save a few bytes of bss by dropping caching as elf_aux_info() runs
in constant time for a given query.

Reviewed by:	kevans, imp, emaste
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D42708
2023-11-28 17:09:26 +00:00
..
aarch64 libc: Teach libc about the BTI elf note 2023-11-21 10:02:51 +00:00
amd64 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
arm lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
capability libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
compat-43 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
csu libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
db lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
gdtoa libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
gen getpagesize(3): drop support for non-ELF kernels 2023-11-28 17:09:26 +00:00
gmon lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
i386 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
iconv libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
include libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
inet lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
isc lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
locale lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
md Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nameser lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
net lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
nls libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
posix1e libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
powerpc libc: centralize a few numeric symbols 2023-11-15 23:42:37 +00:00
powerpc64 libc: centralize a few numeric symbols 2023-11-15 23:42:37 +00:00
powerpcspe libc/<arch>/sys/Makefile.inc: remove cruft 2023-11-15 17:50:53 +00:00
quad Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
regex lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
resolv lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
riscv libc: centralize a few numeric symbols 2023-11-15 23:42:37 +00:00
rpc lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
secure libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
softfloat libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
stdio lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
stdlib lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
stdtime Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
string lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
sys lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
tests lib/libc/tests/string: add extended unit tests for strcmp() 2023-11-14 12:37:06 -05:00
uuid libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
x86 libc/<arch>/sys/Makefile.inc: remove cruft 2023-11-15 17:50:53 +00:00
xdr lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
yp lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
libc.ldscript Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
libc_nossp.ldscript Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
Makefile lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
Makefile.depend dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Versions.def Create namespace for the symbols added during 15-CURRENT cycle 2023-09-22 10:16:29 +02:00