diff options
author | Damien Miller <djm@mindrot.org> | 2013-12-08 15:53:28 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-12-08 15:53:28 +1100 |
commit | 6d6fcd14e23a9053198342bb379815b15e504084 (patch) | |
tree | ec36f8063bc3faf51e169fe10495a840a1b3f8c2 /regress/agent-ptrace.sh | |
parent | 7e6e42fb532c7dafd7078ef5e9e2d3e47fcf6752 (diff) |
- (djm) [Makefile.in regress/Makefile regress/agent-ptrace.sh]
[regress/setuid-allowed.c] Check that ssh-agent is not on a no-setuid
filesystem before running agent-ptrace.sh; ok dtucker
Diffstat (limited to 'regress/agent-ptrace.sh')
-rw-r--r-- | regress/agent-ptrace.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh index 9f29464c5..6824b8141 100644 --- a/regress/agent-ptrace.sh +++ b/regress/agent-ptrace.sh | |||
@@ -19,6 +19,13 @@ else | |||
19 | exit 0 | 19 | exit 0 |
20 | fi | 20 | fi |
21 | 21 | ||
22 | if $OBJ/setuid-allowed ${SSHAGENT} ; then | ||
23 | : ok | ||
24 | else | ||
25 | echo "skipped (${SSHAGENT} is mounted on a no-setuid filesystem)" | ||
26 | exit 0 | ||
27 | fi | ||
28 | |||
22 | if test -z "$SUDO" ; then | 29 | if test -z "$SUDO" ; then |
23 | echo "skipped (SUDO not set)" | 30 | echo "skipped (SUDO not set)" |
24 | exit 0 | 31 | exit 0 |