diff options
author | 2014-07-17 00:10:56 +0000 | |
---|---|---|
committer | 2014-07-17 00:10:56 +0000 | |
commit | d9829dd327b022e28f7518cb47e3ab81780acfba (patch) | |
tree | 189543974af73c79bf45adbcd6bf6ef5554e142e /usr.bin/ssh/sandbox-systrace.c | |
parent | preserve errno across syscall (diff) | |
download | wireguard-openbsd-d9829dd327b022e28f7518cb47e3ab81780acfba.tar.xz wireguard-openbsd-d9829dd327b022e28f7518cb47e3ab81780acfba.zip |
ifdef SYS_sendsyslog so this will compile without patching on -stable
Diffstat (limited to 'usr.bin/ssh/sandbox-systrace.c')
-rw-r--r-- | usr.bin/ssh/sandbox-systrace.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/sandbox-systrace.c b/usr.bin/ssh/sandbox-systrace.c index 4f3d2e822bc..6170f2e9b80 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.12 2014/07/11 08:09:54 deraadt Exp $ */ +/* $OpenBSD: sandbox-systrace.c,v 1.13 2014/07/17 00:10:56 djm Exp $ */ /* * Copyright (c) 2011 Damien Miller <djm@mindrot.org> * @@ -55,8 +55,9 @@ static const struct sandbox_policy preauth_policy[] = { /* Previous releases used sysctl(3)'s kern.arnd variable. */ { SYS___sysctl, SYSTR_POLICY_PERMIT }, #endif - +#ifdef SYS_sendsyslog { SYS_sendsyslog, SYSTR_POLICY_PERMIT }, +#endif { SYS_close, SYSTR_POLICY_PERMIT }, { SYS_exit, SYSTR_POLICY_PERMIT }, { SYS_getpid, SYSTR_POLICY_PERMIT }, |