mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
s/SANDBOX_TAME/SANDBOX_PLEDGE/g
This commit is contained in:
parent
8f22911027
commit
fafe1d84a2
@ -3099,7 +3099,7 @@ if test "x$sandbox_arg" = "xpledge" || \
|
|||||||
test "x$ac_cv_func_pledge" != "xyes" && \
|
test "x$ac_cv_func_pledge" != "xyes" && \
|
||||||
AC_MSG_ERROR([pledge sandbox requires pledge(2) support])
|
AC_MSG_ERROR([pledge sandbox requires pledge(2) support])
|
||||||
SANDBOX_STYLE="pledge"
|
SANDBOX_STYLE="pledge"
|
||||||
AC_DEFINE([SANDBOX_TAME], [1], [Sandbox using pledge(2)])
|
AC_DEFINE([SANDBOX_PLEDGE], [1], [Sandbox using pledge(2)])
|
||||||
elif test "x$sandbox_arg" = "xsystrace" || \
|
elif test "x$sandbox_arg" = "xsystrace" || \
|
||||||
( test -z "$sandbox_arg" && test "x$have_systr_policy_kill" = "x1" ) ; then
|
( test -z "$sandbox_arg" && test "x$have_systr_policy_kill" = "x1" ) ; then
|
||||||
test "x$have_systr_policy_kill" != "x1" && \
|
test "x$have_systr_policy_kill" != "x1" && \
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
#ifdef SANDBOX_TAME
|
#ifdef SANDBOX_PLEDGE
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
@ -74,4 +74,4 @@ ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
|
|||||||
/* Nothing to do here */
|
/* Nothing to do here */
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SANDBOX_TAME */
|
#endif /* SANDBOX_PLEDGE */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user