apparmor/tests/stress/subdomain/sh.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
448 B
Text

BASE/sh {
/bin/* rix,
/dev/tty rw,
/dev/pts/* rw,
/etc/fstab r,
/etc/inputrc r,
/etc/ld.so.* r,
/etc/mtab r,
/etc/nsswitch.conf r,
/etc/passwd r,
/etc/termcap r,
BASE/sh r,
BASE/* rix,
/lib/libc-*.so rm,
/lib/libc-*.so.* rm,
/lib/ld-*.so rix,
/lib/ld-*.so.* rix,
/lib/** rm,
/{usr/,}/lib/libAA* rm,
/proc/meminfo r,
/usr/lib/locale/** r,
/usr/share/locale/** r,
/**.bash_history r,
}