summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_elf.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2018-07-10 04:19:59 +0000
committerguenther <guenther@openbsd.org>2018-07-10 04:19:59 +0000
commit4cf51ffb3914592f5084e60babf4664172b380db (patch)
tree393e8faa30d001d2573bc24d2f757b52f829ca90 /sys/kern/exec_elf.c
parentXr pci(4) (diff)
downloadwireguard-openbsd-4cf51ffb3914592f5084e60babf4664172b380db.tar.xz
wireguard-openbsd-4cf51ffb3914592f5084e60babf4664172b380db.zip
Move from sendsig() to its callers the initsiginfo() calls and
instead of passing sendsig() the code+type+val, pass a siginfo_t* to copy from. Eliminate the indirection through struct emul for sendsig(); we no longer have a SunOS4-compat version of sendsig() ok deraadt@
Diffstat (limited to 'sys/kern/exec_elf.c')
-rw-r--r--sys/kern/exec_elf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 0a2fc0a9c8a..6fb2183db65 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.142 2017/12/30 23:08:29 guenther Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.143 2018/07/10 04:19:59 guenther Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -132,7 +132,6 @@ extern char *syscallnames[];
struct emul emul_elf = {
"native",
NULL,
- sendsig,
SYS_syscall,
SYS_MAXSYSCALL,
sysent,