Populate the non-LOAD openbsd.syscalls section (and PT_OPENBSD_SYSCALL)
authorderaadt <deraadt@openbsd.org>
Sun, 10 Dec 2023 16:45:50 +0000 (16:45 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 10 Dec 2023 16:45:50 +0000 (16:45 +0000)
commit83762a71f74848f4d09174ce350838b4204957c5
tree075530d7b143d78c5ab5f04b823364b3c2a071d5
parent8fcc9cc255d33b8562687241c7c27f5de053be51
Populate the non-LOAD openbsd.syscalls section (and PT_OPENBSD_SYSCALL)
with {uint offset, uint syscall#} entries in libc & ld.so.
In libc a few syscall# entries (break, sigprocmask, _tfork, _threxit)
are duplicated because additional or inline uses occur (that situation
is handled elsewhere)
ok kettenis
99 files changed:
lib/libc/arch/DEFS.h
lib/libc/arch/aarch64/SYS.h
lib/libc/arch/alpha/SYS.h
lib/libc/arch/amd64/SYS.h
lib/libc/arch/amd64/gen/setjmp.S
lib/libc/arch/amd64/gen/sigsetjmp.S
lib/libc/arch/amd64/sys/tfork_thread.S
lib/libc/arch/arm/SYS.h
lib/libc/arch/hppa/SYS.h
lib/libc/arch/hppa/gen/setjmp.S
lib/libc/arch/hppa/sys/Ovfork.S
lib/libc/arch/i386/DEFS.h
lib/libc/arch/i386/SYS.h
lib/libc/arch/i386/gen/setjmp.S
lib/libc/arch/i386/gen/sigsetjmp.S
lib/libc/arch/i386/sys/Ovfork.S
lib/libc/arch/i386/sys/brk.S
lib/libc/arch/i386/sys/sbrk.S
lib/libc/arch/i386/sys/sigprocmask.S
lib/libc/arch/i386/sys/sigsuspend.S
lib/libc/arch/i386/sys/tfork_thread.S
lib/libc/arch/m88k/DEFS.h
lib/libc/arch/m88k/SYS.h
lib/libc/arch/m88k/sys/brk.S
lib/libc/arch/m88k/sys/sbrk.S
lib/libc/arch/m88k/sys/sigpending.S
lib/libc/arch/m88k/sys/sigprocmask.S
lib/libc/arch/m88k/sys/sigsuspend.S
lib/libc/arch/m88k/sys/tfork_thread.S
lib/libc/arch/mips64/SYS.h
lib/libc/arch/mips64/gen/setjmp.S
lib/libc/arch/mips64/sys/brk.S
lib/libc/arch/mips64/sys/sbrk.S
lib/libc/arch/mips64/sys/sigpending.S
lib/libc/arch/mips64/sys/sigprocmask.S
lib/libc/arch/mips64/sys/sigsuspend.S
lib/libc/arch/powerpc/SYS.h
lib/libc/arch/powerpc/gen/setjmp.S
lib/libc/arch/powerpc/gen/sigsetjmp.S
lib/libc/arch/powerpc/sys/brk.S
lib/libc/arch/powerpc/sys/sbrk.S
lib/libc/arch/powerpc/sys/sigpending.S
lib/libc/arch/powerpc/sys/sigprocmask.S
lib/libc/arch/powerpc/sys/sigsuspend.S
lib/libc/arch/powerpc/sys/tfork_thread.S
lib/libc/arch/powerpc64/DEFS.h
lib/libc/arch/powerpc64/SYS.h
lib/libc/arch/powerpc64/gen/setjmp.S
lib/libc/arch/powerpc64/gen/sigsetjmp.S
lib/libc/arch/powerpc64/sys/brk.S
lib/libc/arch/powerpc64/sys/sbrk.S
lib/libc/arch/powerpc64/sys/sigpending.S
lib/libc/arch/powerpc64/sys/sigprocmask.S
lib/libc/arch/powerpc64/sys/sigsuspend.S
lib/libc/arch/powerpc64/sys/tfork_thread.S
lib/libc/arch/riscv64/DEFS.h
lib/libc/arch/riscv64/SYS.h
lib/libc/arch/riscv64/sys/brk.S
lib/libc/arch/sh/SYS.h
lib/libc/arch/sh/sys/brk.S
lib/libc/arch/sh/sys/sbrk.S
lib/libc/arch/sh/sys/sigprocmask.S
lib/libc/arch/sh/sys/sigsuspend.S
lib/libc/arch/sh/sys/tfork_thread.S
lib/libc/arch/sparc64/SYS.h
lib/libc/arch/sparc64/gen/setjmp.S
lib/libc/arch/sparc64/gen/sigsetjmp.S
lib/libc/arch/sparc64/sys/brk.S
lib/libc/arch/sparc64/sys/sbrk.S
lib/libc/arch/sparc64/sys/sigpending.S
lib/libc/arch/sparc64/sys/sigprocmask.S
lib/libc/arch/sparc64/sys/sigsuspend.S
lib/libc/arch/sparc64/sys/tfork_thread.S
libexec/ld.so/aarch64/SYS.h
libexec/ld.so/aarch64/ld.script
libexec/ld.so/alpha/SYS.h
libexec/ld.so/alpha/ld.script
libexec/ld.so/amd64/SYS.h
libexec/ld.so/amd64/ld.script
libexec/ld.so/arm/SYS.h
libexec/ld.so/arm/ld.script
libexec/ld.so/hppa/SYS.h
libexec/ld.so/hppa/ld.script
libexec/ld.so/i386/SYS.h
libexec/ld.so/i386/ld.script
libexec/ld.so/m88k/SYS.h
libexec/ld.so/m88k/ld.script
libexec/ld.so/mips64/SYS.h
libexec/ld.so/mips64/ld.script
libexec/ld.so/powerpc/SYS.h
libexec/ld.so/powerpc/ld.script
libexec/ld.so/powerpc64/SYS.h
libexec/ld.so/powerpc64/ld.script
libexec/ld.so/riscv64/SYS.h
libexec/ld.so/riscv64/ld.script
libexec/ld.so/sh/SYS.h
libexec/ld.so/sh/ld.script
libexec/ld.so/sparc64/SYS.h
libexec/ld.so/sparc64/ld.script