A process should be able to do sigpending for itself
authorderaadt <deraadt@openbsd.org>
Tue, 6 Oct 2015 18:35:09 +0000 (18:35 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 6 Oct 2015 18:35:09 +0000 (18:35 +0000)
sys/kern/kern_tame.c

index bd0dea2..40a2aa2 100644 (file)
@@ -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 <nicm@openbsd.org>
@@ -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,