[apparmor] [PATCH 2/5] Remove the restriction that unattachedprofiles must be started with the profile keyword. It is notrequired for parsing and there doesn't seem to be an goodreason to require it.

Seth Arnold seth.arnold at gmail.com
Tue Nov 23 09:33:39 GMT 2010


Please forgive my rubbish quoting.


--- a/parser/tst/simple_tests/profile/profile_bad1.sd
+++ b/parser/tst/simple_tests/profile/profile_bad1.sd
@@ -2,14 +2,7 @@
 # $Id$
 #=DESCRIPTION unattached profile without profile keyword
 #=EXRESULT FAIL
+#=DISABLED
 # vim:syntax=subdomain
 # Last Modified: Sun Apr 17 19:44:44 2005
 #
-unattached {
-  /usr/X11R6/lib/lib*so* rrr,
-  /does/not/exist r,
-  /var/log/messages www,
-  /tmp/sd*.foo rwrwwrll,
-  /bin/cat pxpxpxpxpx,
-  /bin/ls ixixixix,
-}

Why not just delete the file? It is disabled, and the last-modified stamp is five years out of date...

Thanks



More information about the AppArmor mailing list