[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Add audit uid to netlink credentials



On Fri, 4 Feb 2005, Serge E. Hallyn wrote:
Most audit control messages are sent over netlink.  In order to properly
log the identity of the sender of audit control messages, we would like
to add the loginuid to the netlink_creds structure, as per the attached
patch.

Reception of netlink messages in the kernel happens in the context of the sending process, so you can simply call audit_get_loginuid(current->audit_context) in audit_receive_msg().

Regards
Patrick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]