On 10/01/2015 04:38 PM, Roberts, William C wrote:
> We have the peer ucred structure in property service, but the messages don’t 
> have much information. How can I plumb pid into the check_access message?

Define a struct containing all of the auxiliary audit data you need to pass,
including the existing property name.

Pass a pointer to that struct as the last argument of selinux_check_access().

Change the audit_callback() in init.cpp to cast the data argument to your struct
and extract the fields.

_______________________________________________
Seandroid-list mailing list
Seandroid-list@tycho.nsa.gov
To unsubscribe, send email to seandroid-list-le...@tycho.nsa.gov.
To get help, send an email containing "help" to 
seandroid-list-requ...@tycho.nsa.gov.

Reply via email to