summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2021-12-06 21:21:11 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2021-12-06 21:21:11 +0000
commited1f034646de8b63902d7eb0950649af516b355e (patch)
treed652b668a58d37edd43954424143b99b09d01917 /sys/kern/init_main.c
parent3d3dcbb0080453227767dbe1c602e902c657f6dd (diff)
Start to delete emulation support: since we're Just ELF, make
copyargs() return 0/1 and merge elf_copyargs() into it. Rename ep_emul_arg and ep_emul_argp to have clearer meaning and type and eliminate ep_emul_argsize as no longer necessary. Make sure ep_auxinfo (nee ep_emul_argp) is initialized as powerpc64 always uses it in setregs(). ok semarie@ deraadt@ kettenis@
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 9d975b0de25..3d686f911fb 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.308 2021/06/30 12:21:02 bluhm Exp $ */
+/* $OpenBSD: init_main.c,v 1.309 2021/12/06 21:21:10 guenther Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -171,7 +171,6 @@ struct emul emul_native = {
NULL,
#endif
0,
- copyargs,
setregs,
NULL, /* fixup */
NULL, /* coredump */