aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2011-06-18 17:48:18 -0700
committerZiyan <jaraidaniel@gmail.com>2016-03-11 16:08:59 +0100
commita6bf34a158d63bc888bb8c89b86cbc95e5d986c3 (patch)
tree175d896ead4f93df62668b0df5b5cde1b5e2b8bb /kernel/user_namespace.c
parent41fc709f5a09a77dfe68ba651a8c87e74abc5084 (diff)
downloadkernel_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 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions