mirror of git://anongit.mindrot.org/openssh.git
(re)wrap SYS_sendsyslog in ifdef.
Replace ifdef that went missing in commit
c61b42f267
. Fixes build on older
OpenBSDs.
This commit is contained in:
parent
b67e2e76fc
commit
996b24cebf
|
@ -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 },
|
||||
|
|
Loading…
Reference in New Issue