From 8ead4bc6a4e67d28d7f26a1d820a4196e2179ad8 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 6 Oct 2015 18:35:09 +0000 Subject: [PATCH] A process should be able to do sigpending for itself --- sys/kern/kern_tame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/kern_tame.c b/sys/kern/kern_tame.c index bd0dea281e4..40a2aa2b7dc 100644 --- a/sys/kern/kern_tame.c +++ b/sys/kern/kern_tame.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tame.c,v 1.64 2015/10/06 18:15:02 deraadt Exp $ */ +/* $OpenBSD: kern_tame.c,v 1.65 2015/10/06 18:35:09 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -91,6 +91,7 @@ const u_int tame_syscalls[SYS_MAXSYSCALL] = { [SYS_sigprocmask] = TAME_SELF, [SYS_sigaction] = TAME_SELF, [SYS_sigreturn] = TAME_SELF, + [SYS_sigpending] = TAME_SELF, [SYS_getitimer] = TAME_SELF, [SYS_setitimer] = TAME_SELF, -- 2.20.1