[RFC][PATCH] loginuid through procfs (+ a question)

Serge Hallyn serue at us.ibm.com
Fri Jan 7 21:58:05 UTC 2005


Attached is a first stab at setting loginuid through /proc/$$/loginuid.
Compiled and tested here.

A related question:  On receipt of a AUDIT_USER message, we log the pid
and uid, but not the loginuid.  Is it ok to force the user-space code to
search through previous log entries to determine the correct loginuid,
or would we prefer to send the loginuid in the log entry?

Note: this is on top of Stephen's loginuid inheritence fix, and my
previous CAP_AUDIT_* patch on 2.6.10-bk9.

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


More information about the Linux-audit mailing list