[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.

John Johansen john.johansen at canonical.com
Tue Nov 23 09:56:00 GMT 2010


On 11/23/2010 01:33 AM, Seth Arnold wrote:
> 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...
> 
I could but I was planning on adding a test to it, I just haven't kicked that out yet



More information about the AppArmor mailing list