summaryrefslogtreecommitdiff
path: root/sandbox-systrace.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2015-11-29 17:18:35 +0000
committerColin Watson <cjwatson@debian.org>2015-11-29 17:32:50 +0000
commit0b372585c0026f78676f1414510ec9f87a383803 (patch)
treea3fa6b329a8a5e9841b526f30332d21fc110118a /sandbox-systrace.c
parent24ffa45372888d206f21e1864e3911024c6d5e62 (diff)
parent6d0faf6dc76ac8cc73d6f8e478db7c97f7013a2d (diff)
New upstream release (7.0p1).
Diffstat (limited to 'sandbox-systrace.c')
-rw-r--r--sandbox-systrace.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sandbox-systrace.c b/sandbox-systrace.c
index 03b0d40cc..3830ed16c 100644
--- a/sandbox-systrace.c
+++ b/sandbox-systrace.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sandbox-systrace.c,v 1.16 2015/06/29 22:35:12 djm Exp $ */ 1/* $OpenBSD: sandbox-systrace.c,v 1.17 2015/07/27 16:29:23 guenther Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller <djm@mindrot.org> 3 * Copyright (c) 2011 Damien Miller <djm@mindrot.org>
4 * 4 *
@@ -63,6 +63,9 @@ static const struct sandbox_policy preauth_policy[] = {
63 { SYS_getpid, SYSTR_POLICY_PERMIT }, 63 { SYS_getpid, SYSTR_POLICY_PERMIT },
64 { SYS_getpgid, SYSTR_POLICY_PERMIT }, 64 { SYS_getpgid, SYSTR_POLICY_PERMIT },
65 { SYS_gettimeofday, SYSTR_POLICY_PERMIT }, 65 { SYS_gettimeofday, SYSTR_POLICY_PERMIT },
66#ifdef SYS_kbind
67 { SYS_kbind, SYSTR_POLICY_PERMIT },
68#endif
66 { SYS_madvise, SYSTR_POLICY_PERMIT }, 69 { SYS_madvise, SYSTR_POLICY_PERMIT },
67 { SYS_mmap, SYSTR_POLICY_PERMIT }, 70 { SYS_mmap, SYSTR_POLICY_PERMIT },
68 { SYS_mprotect, SYSTR_POLICY_PERMIT }, 71 { SYS_mprotect, SYSTR_POLICY_PERMIT },