[apparmor] [patch] fix logprof handling of var declarations
Kees Cook
kees at ubuntu.com
Sat Feb 5 02:58:10 UTC 2011
On Fri, Feb 04, 2011 at 06:24:06PM -0800, Seth Arnold wrote:
> As an aside, all hail fakeroot:
>
> $ apparmor_parser -D variables ./sbin.dhclient3
> apparmor_parser: Sorry. You need root privileges to run this program.
> $ fakeroot apparmor_parser -D variables ./sbin.dhclient3
> ,, at FOO = "bar" "baz"
> @HOME = "@{HOMEDIRS}/*/" "/root/"
> @HOMEDIRS = "/home/"
> @PROC = "/proc/"
> $
>
> fakeroot is an excellent program. :)
Also:
-Q, --skip-kernel-load Do everything except loading into kernel
$ apparmor_parser -Q -D variables /etc/apparmor.d/sbin.dhclient
@HOME = "@{HOMEDIRS}/*/" "/root/"
@HOMEDIRS = "/home/"
@PROC = "/proc/"
-Kees
--
Kees Cook
Ubuntu Security Team
More information about the AppArmor
mailing list