[openssh-commits] [openssh] 01/01: (re)wrap SYS_sendsyslog in ifdef.

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Oct 29 21:06:25 AEDT 2015


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 996b24cebf20077fbe5db07b3a2c20c2d9db736e
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Thu Oct 29 20:57:34 2015 +1100

    (re)wrap SYS_sendsyslog in ifdef.
    
    Replace ifdef that went missing in commit
    c61b42f2678f21f05653ac2d3d241b48ab5d59ac.  Fixes build on older
    OpenBSDs.
---
 sandbox-systrace.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sandbox-systrace.c b/sandbox-systrace.c
index 46c36a7..b4d8d04 100644
--- a/sandbox-systrace.c
+++ b/sandbox-systrace.c
@@ -68,7 +68,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_madvise, SYSTR_POLICY_PERMIT },
 	{ SYS_mmap, SYSTR_POLICY_PERMIT },

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list