Skip to content
Snippets Groups Projects
Commit dadd033b authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Thierry Strudel
Browse files

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: default avatarEric W. Biederman <ebiederm@xmission.com>
(cherry picked from commit bf056bfa)
parent 75140a91
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment