[PATCH] Add audit uid to netlink credentials
Patrick McHardy
kaber at trash.net
Tue Feb 8 06:04:13 UTC 2005
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
More information about the Linux-audit
mailing list