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:
djm@openbsd.org 2015-09-11 04:55:01 +00:00 committed by Damien Miller
parent 9c06c814af
commit 0097248f90

View File

@ -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