Re: [PATCH] dcache: don't expose uninitialized memory in /proc/<pid>/fd/<fd>

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <linux-kernel@...>, <viro@...>
Date: Monday, October 22, 2007 - 2:08 pm

Sorry for the delayed response:

On Wed, Oct 17, 2007 at 03:32:01PM -0700, Andrew Morton wrote:

The memcpy() makes the behavior agree with the code comments, and with
what the kernel normally otherwise does.  But, yeah, just making it a
null string would probably be reasonable too.


Looks like __d_path already adds a (deleted) for us, so that'de be
redundant.

--b.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] dcache: trivial comment fix, J. Bruce Fields, (Tue Oct 16, 3:32 pm)
Re: [PATCH] dcache: don't expose uninitialized memory in /pr..., J. Bruce Fields, (Mon Oct 22, 2:08 pm)