apparmor/tests/stress/subdomain/change_hat.profile.pre
Steve Beattie 66286494a2 Resurrect another of the stress tests; it kinda works, though it requires
killall-ing a few things in order to make it stop. And alas, it does seem
to eventually cause kernel hangs with 2.6.32-16. (Committing now before ext4
eats my changes and brain.)
2010-03-10 20:56:47 -08:00

24 lines
447 B
Text

BASE/change_hat {
/lib/lib*.so rm,
/usr/lib/lib*.so rm,
/lib/lib*.so.* rm,
/lib/i[356]86/lib*.so rm,
/lib/tls/lib*.*.so rm,
/lib/ld-*.so rix,
/etc/ld.so.* r,
BASE/change_hat r,
/bin/ls rix,
/dev/pts/* rw,
/dev/tty* rw,
/dev/null rw,
/dev/urandom r,
^/subprofile/foo {
/bin/bash rix,
/tmp/foobar r,
/bin/ls rix,
/dev/pts/* rw,
/dev/tty* rw,
/dev/null rw,
}
}