Add elf_aux_info(3)
authorjca <jca@openbsd.org>
Sun, 14 Jul 2024 09:48:48 +0000 (09:48 +0000)
committerjca <jca@openbsd.org>
Sun, 14 Jul 2024 09:48:48 +0000 (09:48 +0000)
commitef873df06dac50249b2dd380dc6100eee3b0d23d
treefe120a2b9f43e311e5bd2daf9e9500fbec65b98b
parente7eb1c1213c3894f6d7e98b801443e204aec1dad
Add elf_aux_info(3)

Designed to let userland peek at AT_HWCAP and AT_HWCAP2 using an already
existing interface coming from FreeBSD. Headers bits were snatched from
there.  Input & ok kettenis@

libc bump and sets sync will follow soon
26 files changed:
lib/libc/Symbols.list
lib/libc/dlfcn/init.c
lib/libc/gen/Makefile.inc
lib/libc/gen/elf_aux_info.3 [new file with mode: 0644]
lib/libc/gen/elf_aux_info.c [new file with mode: 0644]
lib/libc/hidden/sys/auxv.h [new file with mode: 0644]
regress/lib/libc/Makefile
regress/lib/libc/elf_aux_info/Makefile [new file with mode: 0644]
regress/lib/libc/elf_aux_info/elf_aux_info.c [new file with mode: 0644]
sys/arch/alpha/include/elf.h [new file with mode: 0644]
sys/arch/amd64/include/elf.h [new file with mode: 0644]
sys/arch/arm/include/elf.h [new file with mode: 0644]
sys/arch/arm64/arm64/cpu.c
sys/arch/arm64/include/elf.h [new file with mode: 0644]
sys/arch/hppa/include/elf.h [new file with mode: 0644]
sys/arch/i386/include/elf.h [new file with mode: 0644]
sys/arch/m88k/include/elf.h [new file with mode: 0644]
sys/arch/mips64/include/elf.h [new file with mode: 0644]
sys/arch/powerpc/include/elf.h [new file with mode: 0644]
sys/arch/powerpc64/include/elf.h [new file with mode: 0644]
sys/arch/riscv64/include/elf.h [new file with mode: 0644]
sys/arch/riscv64/riscv64/cpu.c
sys/arch/sh/include/elf.h [new file with mode: 0644]
sys/arch/sparc64/include/elf.h [new file with mode: 0644]
sys/sys/auxv.h [new file with mode: 0644]
sys/sys/exec_elf.h