summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-08-23 18:31:42 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-08-23 18:31:42 +0000
commit34065d86637ecc5acd9876387f0bef2960e0bcc8 (patch)
treefda3d6b746f1829acf75903c5ef3442cd970767c
parent6d2af574dc5e1f3130035dd9d70541892116b0db (diff)
Need to permit kbind in this sandbox too
-rw-r--r--usr.bin/file/sandbox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/file/sandbox.c b/usr.bin/file/sandbox.c
index af531962671..a4039709ef1 100644
--- a/usr.bin/file/sandbox.c
+++ b/usr.bin/file/sandbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sandbox.c,v 1.8 2015/06/04 22:56:33 nicm Exp $ */
+/* $OpenBSD: sandbox.c,v 1.9 2015/08/23 18:31:41 guenther Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -49,6 +49,7 @@ static const struct
{ SYS_getpid, SYSTR_POLICY_PERMIT },
{ SYS_getrlimit, SYSTR_POLICY_PERMIT },
{ SYS_issetugid, SYSTR_POLICY_PERMIT },
+ { SYS_kbind, SYSTR_POLICY_PERMIT },
{ SYS_madvise, SYSTR_POLICY_PERMIT },
{ SYS_mmap, SYSTR_POLICY_PERMIT },
{ SYS_mprotect, SYSTR_POLICY_PERMIT },