- djm@cvs.openbsd.org 2014/07/17 00:10:56

[sandbox-systrace.c]
     ifdef SYS_sendsyslog so this will compile without patching on -stable
This commit is contained in:
Damien Miller 2014-07-18 15:03:02 +10:00
parent 6d57656331
commit 1b83320628
2 changed files with 7 additions and 2 deletions

View File

@ -19,6 +19,9 @@
add the streamlocal* options to ssh's -o list; millert says they're
irrelevant for scp/sftp;
ok markus millert
- djm@cvs.openbsd.org 2014/07/17 00:10:56
[sandbox-systrace.c]
ifdef SYS_sendsyslog so this will compile without patching on -stable
20140717
- (djm) [digest-openssl.c] Preserve array order when disabling digests.

View File

@ -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>
*
@ -60,7 +60,9 @@ static const struct sandbox_policy preauth_policy[] = {
{ SYS___sysctl, SYSTR_POLICY_PERMIT },
#endif
// { SYS_sendsyslog, SYSTR_POLICY_PERMIT },
#ifdef SYS_sendsyslog
{ SYS_sendsyslog, SYSTR_POLICY_PERMIT },
#endif
{ SYS_close, SYSTR_POLICY_PERMIT },
{ SYS_exit, SYSTR_POLICY_PERMIT },
{ SYS_getpid, SYSTR_POLICY_PERMIT },