summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-31 21:53:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-31 21:53:54 +0000
commit5913de127cc1914da899b2e687a16f5c692ce0f1 (patch)
tree5c351ce9f8c057824fabb243d0cf1df8b4bb510d /sys/kern
parentb9cc1099dc939c1572d4475d4710905b7c1e2212 (diff)
oops, forgot pselect! crazy how many interface the kernel has here.
It is just risk, risk, risk, risk. Is there anyway to unify them?
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_pledge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index 5b78155f453..3f4c502fe29 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.93 2015/10/31 02:46:23 deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.94 2015/10/31 21:53:53 deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -158,6 +158,7 @@ const u_int pledge_syscalls[SYS_MAXSYSCALL] = {
[SYS_kevent] = PLEDGE_STDIO,
[SYS_kqueue] = PLEDGE_STDIO,
[SYS_select] = PLEDGE_STDIO,
+ [SYS_pselect] = PLEDGE_STDIO,
[SYS_fstat] = PLEDGE_STDIO,
[SYS_fsync] = PLEDGE_STDIO,