Re: [PATCH 2/9] procfs: add pid_entry_access() for proper checks on /proc//*

2014-05-26 Thread Andy Lutomirski
On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: > Add the helper pid_entry_access() to unify the permission checks during > ->open() > > This is a preparation patch. > > Signed-off-by: Djalal Harouni > --- > fs/proc/generic.c | 22 ++ > fs/proc/internal.h | 2 ++ > 2

[PATCH 2/9] procfs: add pid_entry_access() for proper checks on /proc//*

2014-05-26 Thread Djalal Harouni
Add the helper pid_entry_access() to unify the permission checks during ->open() This is a preparation patch. Signed-off-by: Djalal Harouni --- fs/proc/generic.c | 22 ++ fs/proc/internal.h | 2 ++ 2 files changed, 24 insertions(+) diff --git a/fs/proc/generic.c b/fs/proc