Delete the last emulation callbacks: we're Just ELF, so declare
authorguenther <guenther@openbsd.org>
Tue, 7 Dec 2021 22:17:02 +0000 (22:17 +0000)
committerguenther <guenther@openbsd.org>
Tue, 7 Dec 2021 22:17:02 +0000 (22:17 +0000)
commit4ed6f7c2b565fccc4813d2ffd31fb7e3eeca73d2
tree9c33fb9e1f1e1b2b0ce295644966b3cf320e8c4a
parent10f3402521b13274ea7704b69ddf3769d1cac8fc
Delete the last emulation callbacks: we're Just ELF, so declare
exec_elf_fixup() and coredump_elf() in <sys/exec_elf.h> and call
them and the MD setregs() directly in kern_exec.c and kern_sig.c

Also delete e_name[] (only used by sysctl), e_errno (unused), and
e_syscallnames[] (only used by SYSCALL_DEBUG) and constipate
syscallnames to 'const char *const[]'

ok kettenis@
13 files changed:
sys/kern/exec_conf.c
sys/kern/exec_elf.c
sys/kern/init_main.c
sys/kern/kern_exec.c
sys/kern/kern_sig.c
sys/kern/kern_xxx.c
sys/kern/makesyscalls.sh
sys/kern/syscalls.c
sys/sys/exec_elf.h
sys/sys/proc.h
sys/sys/sysctl.h
usr.sbin/btrace/btrace.c
usr.sbin/btrace/btrace.h