[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] enable /proc/$$/loginuid



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 epoch ncsc mil>
National Security Agency


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]