Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
s/SANDBOX_TAME/SANDBOX_PLEDGE/g
Browse files Browse the repository at this point in the history
  • Loading branch information
djmdjm committed Oct 14, 2015
1 parent 8f22911 commit fafe1d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3099,7 +3099,7 @@ if test "x$sandbox_arg" = "xpledge" || \
test "x$ac_cv_func_pledge" != "xyes" && \
AC_MSG_ERROR([pledge sandbox requires pledge(2) support])
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" || \
( test -z "$sandbox_arg" && test "x$have_systr_policy_kill" = "x1" ) ; then
test "x$have_systr_policy_kill" != "x1" && \
Expand Down
4 changes: 2 additions & 2 deletions sandbox-pledge.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include "includes.h"

#ifdef SANDBOX_TAME
#ifdef SANDBOX_PLEDGE

#include <sys/types.h>
#include <sys/ioctl.h>
Expand Down Expand Up @@ -74,4 +74,4 @@ ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
/* Nothing to do here */
}

#endif /* SANDBOX_TAME */
#endif /* SANDBOX_PLEDGE */

0 comments on commit fafe1d8

Please sign in to comment.