summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-11 08:09:54 +0000
committerderaadt <deraadt@openbsd.org>2014-07-11 08:09:54 +0000
commit2a9daa0d38a0ee28a49690a6ffb7983a0409b23c (patch)
treea2a29ce3a8c5637599ff2dac82207fb688d89f38
parentMarion, don't look at it. Shut your eyes, Marion. (diff)
downloadwireguard-openbsd-2a9daa0d38a0ee28a49690a6ffb7983a0409b23c.tar.xz
wireguard-openbsd-2a9daa0d38a0ee28a49690a6ffb7983a0409b23c.zip
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.
-rw-r--r--usr.bin/ssh/sandbox-systrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sandbox-systrace.c b/usr.bin/ssh/sandbox-systrace.c
index f05c601161a..4f3d2e822bc 100644
--- a/usr.bin/ssh/sandbox-systrace.c
+++ b/usr.bin/ssh/sandbox-systrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sandbox-systrace.c,v 1.11 2014/06/18 02:59:13 matthew Exp $ */
+/* $OpenBSD: sandbox-systrace.c,v 1.12 2014/07/11 08:09:54 deraadt Exp $ */
/*
* Copyright (c) 2011 Damien Miller <djm@mindrot.org>
*
@@ -56,6 +56,7 @@ static const struct sandbox_policy preauth_policy[] = {
{ SYS___sysctl, SYSTR_POLICY_PERMIT },
#endif
+ { SYS_sendsyslog, SYSTR_POLICY_PERMIT },
{ SYS_close, SYSTR_POLICY_PERMIT },
{ SYS_exit, SYSTR_POLICY_PERMIT },
{ SYS_getpid, SYSTR_POLICY_PERMIT },