[openssh-commits] [openssh] 02/02: upstream commit

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Sep 16 18:02:03 AEST 2015


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 0097248f90a00865082e8c146b905a6555cc146f
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Sep 11 04:55:01 2015 +0000

    upstream commit
    
    skip if running as root; many systems (inc OpenBSD) allow
     root to ptrace arbitrary processes
    
    Upstream-Regress-ID: be2b925df89360dff36f972951fa0fa793769038
---
 regress/agent-ptrace.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh
index 1912ca8..bb676d6 100644
--- a/regress/agent-ptrace.sh
+++ b/regress/agent-ptrace.sh
@@ -12,6 +12,11 @@ if have_prog uname ; then
 	esac
 fi
 
+if [ "x$USER" = "xroot" ]; then
+	echo "Skipped: running as root"
+	exit 0
+fi
+
 if have_prog gdb ; then
 	: ok
 else

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list