diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2011-06-18 17:48:18 -0700 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-03-11 16:08:59 +0100 |
commit | a6bf34a158d63bc888bb8c89b86cbc95e5d986c3 (patch) | |
tree | 175d896ead4f93df62668b0df5b5cde1b5e2b8bb /fs/proc/generic.c | |
parent | 41fc709f5a09a77dfe68ba651a8c87e74abc5084 (diff) | |
download | kernel_samsung_espresso10-a6bf34a158d63bc888bb8c89b86cbc95e5d986c3.zip kernel_samsung_espresso10-a6bf34a158d63bc888bb8c89b86cbc95e5d986c3.tar.gz kernel_samsung_espresso10-a6bf34a158d63bc888bb8c89b86cbc95e5d986c3.tar.bz2 |
proc: Fix the namespace inode permission checks.
Change the proc namespace files into symlinks so that
we won't cache the dentries for the namespace files
which can bypass the ptrace_may_access checks.
To support the symlinks create an additional namespace
inode with it's own set of operations distinct from the
proc pid inode and dentry methods as those no longer
make sense.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
(cherry picked from commit bf056bfa80596a5d14b26b17276a56a0dcb080e5)
Diffstat (limited to 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions