[PATCH] enable /proc/$$/loginuid

Stephen Smalley sds at epoch.ncsc.mil
Fri Jan 14 18:30:08 UTC 2005


On Fri, 2005-01-14 at 13:23, Stephen Smalley wrote:
> 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.

Ah, never mind on the first point.

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




More information about the Linux-audit mailing list