summaryrefslogtreecommitdiff
path: root/sandbox-systrace.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-07-17 09:49:37 +1000
committerDamien Miller <djm@mindrot.org>2014-07-17 09:49:37 +1000
commit9d69d937b46ecba17f16d923e538ceda7b705c7a (patch)
tree5d31b270cba53ad21c729e98b512dced0719a2cf /sandbox-systrace.c
parentf6293a0b4129826fc2e37e4062f96825df43c326 (diff)
- deraadt@cvs.openbsd.org 2014/07/11 08:09:54
[sandbox-systrace.c] Permit use of SYS_sendsyslog from inside the sandbox. Clock is ticking, update your kernels and sshd soon.. libc will start using sendsyslog() in about 4 days.
Diffstat (limited to 'sandbox-systrace.c')
-rw-r--r--sandbox-systrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sandbox-systrace.c b/sandbox-systrace.c
index 41cf489c5..08cb650bd 100644
--- a/sandbox-systrace.c
+++ b/sandbox-systrace.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sandbox-systrace.c,v 1.11 2014/06/18 02:59:13 matthew Exp $ */ 1/* $OpenBSD: sandbox-systrace.c,v 1.12 2014/07/11 08:09:54 deraadt Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller <djm@mindrot.org> 3 * Copyright (c) 2011 Damien Miller <djm@mindrot.org>
4 * 4 *
@@ -60,6 +60,7 @@ static const struct sandbox_policy preauth_policy[] = {
60 { SYS___sysctl, SYSTR_POLICY_PERMIT }, 60 { SYS___sysctl, SYSTR_POLICY_PERMIT },
61#endif 61#endif
62 62
63 { SYS_sendsyslog, SYSTR_POLICY_PERMIT },
63 { SYS_close, SYSTR_POLICY_PERMIT }, 64 { SYS_close, SYSTR_POLICY_PERMIT },
64 { SYS_exit, SYSTR_POLICY_PERMIT }, 65 { SYS_exit, SYSTR_POLICY_PERMIT },
65 { SYS_getpid, SYSTR_POLICY_PERMIT }, 66 { SYS_getpid, SYSTR_POLICY_PERMIT },