diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2021-12-07 22:17:04 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2021-12-07 22:17:04 +0000 |
commit | d480c9d545b584076d280205cc39f690b979be45 (patch) | |
tree | 436b8f6a5aecfc20be39aabdcce0492fceaf7642 /sys/kern/exec_conf.c | |
parent | 384a2c088bee39ff5ced282af8dc4078919311dd (diff) |
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@
Diffstat (limited to 'sys/kern/exec_conf.c')
-rw-r--r-- | sys/kern/exec_conf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c index e35e229e0d4..2cb0869cd13 100644 --- a/sys/kern/exec_conf.c +++ b/sys/kern/exec_conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_conf.c,v 1.37 2021/03/21 11:29:38 semarie Exp $ */ +/* $OpenBSD: exec_conf.c,v 1.38 2021/12/07 22:17:02 guenther Exp $ */ /* $NetBSD: exec_conf.c,v 1.16 1995/12/09 05:34:47 cgd Exp $ */ /* @@ -36,8 +36,6 @@ #include <sys/exec_script.h> #include <sys/exec_elf.h> -extern struct emul emul_native; - const struct execsw execsw[] = { { /* shell scripts */ .es_hdrsz = EXEC_SCRIPT_HDRSZ, |