apparmor/tests/stress/subdomain/kill.sh
Steve Beattie 6d3e74907d Import the rest of the core functionality of the internal apparmor
development tree (trunk branch). From svn repo version 6381.
2006-04-11 21:52:54 +00:00

20 lines
324 B
Bash
Executable file

#!/bin/sh
. ./uservars.inc
if [ `whoami` != root ]
then
echo "$0: must be root" >&2
exit 1
fi
cat change_hat.profile | $subdomain_parser -R 2>&1 > /dev/null
cat change_hat.profile | $subdomain_parser
./change_hat > /dev/null 2>&1 &
while :
do
cat change_hat.profile | $subdomain_parser -r > /dev/null 2>&1 &
done &