[apparmor] debugging aa_change_profile

Jeroen Ooms jeroen.ooms at stat.ucla.edu
Thu Apr 26 19:04:46 UTC 2012


On Thu, Apr 26, 2012 at 11:27 AM, Seth Arnold <seth.arnold at gmail.com> wrote:
> Something was nagging me and I just figured out what I overlooked -- your "testprofile" here is actually named "/usr/bin/R//testprofile". Make sure you're using the right name to the aa_change_profile() call.

Thanks, I actually was not aware of this. However it does not fix the
problem. The thing that bothers me is that I never get to see a EACCES
(13) even when I do aa_change_hat("foobar") or any other non existing
profile. It always returns 0.



More information about the AppArmor mailing list