[PATCH] enable /proc/$$/loginuid

Stephen Smalley sds at epoch.ncsc.mil
Fri Jan 14 18:23:44 UTC 2005


On Fri, 2005-01-14 at 14:06, Serge Hallyn wrote:
> Changelog:
>   1/14/2005: Added several checks for error values which were missing.
>   1/07/2005: First version.
> 
> Is this ready for lkml?

Shouldn't you be using get_zeroed_page() on the read to avoid leaking
data to userspace?  Or even do away with allocating a page at all there,
e.g. see sel_read_enforce in selinuxfs.c.

-- 
Stephen Smalley <sds at epoch.ncsc.mil>
National Security Agency




More information about the Linux-audit mailing list