diff options
| author | 2018-07-20 21:57:26 +0000 | |
|---|---|---|
| committer | 2018-07-20 21:57:26 +0000 | |
| commit | 68a19ea97895289fd2dfeeeec2a14ca7c852b512 (patch) | |
| tree | a0a363474573ac3ad06b9fb9bac43590e869902a /sys/kern/init_main.c | |
| parent | Fail if a PT_LOAD segment has a memory size of 0. This prevents a panic (diff) | |
| download | wireguard-openbsd-68a19ea97895289fd2dfeeeec2a14ca7c852b512.tar.xz wireguard-openbsd-68a19ea97895289fd2dfeeeec2a14ca7c852b512.zip | |
Remove a few leftovers from the days of emulation, which could result in
a bad/corrupt binary not returning ENOEXEC but some other error.
ok guenther kettenis bluhm
Diffstat (limited to 'sys/kern/init_main.c')
| -rw-r--r-- | sys/kern/init_main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index f4381ae8bd6..397d8f8f2a6 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.278 2018/07/10 04:19:59 guenther Exp $ */ +/* $OpenBSD: init_main.c,v 1.279 2018/07/20 21:57:26 deraadt Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -174,8 +174,7 @@ struct emul emul_native = { NULL, /* coredump */ sigcode, esigcode, - sigcoderet, - EMUL_ENABLED | EMUL_NATIVE, + sigcoderet }; |
