On Tue, Jun 17, 2014 at 10:17:14AM +0800, Aaron Lewis wrote:
> What does the second keyword ("nginx" here) in "profile nginx
> /usr/{s,}bin/nginx" mean?
> Is it just the profile name, which acts like an ID of the profile perhaps?

Yes, that's it exactly; this is the name that will show in ps auxZ output
and the name that you use with Px -> profile_name, "directed transitions",
or an application can use with the aa_change_profile() and
aa_change_exec() APIs.

> > or perhaps even better when you use the profile keyword the profile name
> > does not have to be a path.
> >
> > profile nginx /usr/{s,}bin/nginx {
> >
> > }

Thanks

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to