summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c9384869146..6235ed47b57 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.117 2015/11/20 16:06:54 deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.118 2015/11/20 20:59:52 deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -116,6 +116,7 @@ const u_int pledge_syscalls[SYS_MAXSYSCALL] = {
[SYS_mprotect] = PLEDGE_STDIO,
[SYS_mquery] = PLEDGE_STDIO,
[SYS_munmap] = PLEDGE_STDIO,
+ [SYS_msync] = PLEDGE_STDIO,
[SYS_break] = PLEDGE_STDIO,
[SYS_umask] = PLEDGE_STDIO,