mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-23 02:12:12 +00:00
upstream commit
skip if running as root; many systems (inc OpenBSD) allow root to ptrace arbitrary processes Upstream-Regress-ID: be2b925df89360dff36f972951fa0fa793769038
This commit is contained in:
parent
9c06c814af
commit
0097248f90
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user