summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.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/init_main.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/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 f5a4984070a..f4381ae8bd6 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.277 2018/04/28 03:13:04 visa Exp $ */
+/* $OpenBSD: init_main.c,v 1.278 2018/07/10 04:19:59 guenther Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -159,7 +159,6 @@ extern char *syscallnames[];
struct emul emul_native = {
"native",
NULL,
- sendsig,
SYS_syscall,
SYS_MAXSYSCALL,
sysent,