From: djm Date: Thu, 17 Jul 2014 00:10:56 +0000 (+0000) Subject: ifdef SYS_sendsyslog so this will compile without patching on -stable X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d9829dd327b022e28f7518cb47e3ab81780acfba;p=openbsd ifdef SYS_sendsyslog so this will compile without patching on -stable --- 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 * @@ -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 },