[RFC][PATCH] Move loginuid into task_struct

Serge Hallyn serue at us.ibm.com
Mon Jan 17 18:28:07 UTC 2005


The attached patch moves the loginuid into the task_struct.  Is there
any reason not to do this?  Keeping it in the audit_context is
incompatible with the idea of only creating audit_contexts during an
auditable action.

The next patch I send out will again introduce /proc/$$/loginuid, and
initialize the loginuid to -1 at boot.

thanks,
-serge
-- 
Serge Hallyn <serue at us.ibm.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audit-loginuid-into-taskstruct.patch
Type: text/x-patch
Size: 6481 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20050117/dd61a147/attachment.bin>


More information about the Linux-audit mailing list