[openssh-commits] [openssh] 01/01: s/SANDBOX_TAME/SANDBOX_PLEDGE/g
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Oct 15 03:22:32 AEDT 2015
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit fafe1d84a210fb3dae7744f268059cc583db8c12
Author: Damien Miller <djm at mindrot.org>
Date: Wed Oct 14 09:22:15 2015 -0700
s/SANDBOX_TAME/SANDBOX_PLEDGE/g
---
configure.ac | 2 +-
sandbox-pledge.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 346a90c..a6f947e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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" && \
diff --git a/sandbox-pledge.c b/sandbox-pledge.c
index 1d3e247..d28fc27 100644
--- a/sandbox-pledge.c
+++ b/sandbox-pledge.c
@@ -17,7 +17,7 @@
#include "includes.h"
-#ifdef SANDBOX_TAME
+#ifdef SANDBOX_PLEDGE
#include <sys/types.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 */
}
-#endif /* SANDBOX_TAME */
+#endif /* SANDBOX_PLEDGE */
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list