mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02: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…
x
Reference in New Issue
Block a user