diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-08-23 18:31:42 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-08-23 18:31:42 +0000 |
commit | 34065d86637ecc5acd9876387f0bef2960e0bcc8 (patch) | |
tree | fda3d6b746f1829acf75903c5ef3442cd970767c | |
parent | 6d2af574dc5e1f3130035dd9d70541892116b0db (diff) |
Need to permit kbind in this sandbox too
-rw-r--r-- | usr.bin/file/sandbox.c | 3 |
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 }, |