summaryrefslogtreecommitdiffstats
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-02-26 17:59:02 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2020-03-14 02:09:13 +0100
commitc9a0f75d81e3ffccb885f0069d45e065acc0349a (patch)
tree1b8e6d6d6fb425783d1eea0d0f37a1bcedbbbacb /fs/pipe.c
parentfollow_dotdot{,_rcu}(): lift switching nd->path to parent out of loop (diff)
downloadlinux-c9a0f75d81e3ffccb885f0069d45e065acc0349a.tar.xz
linux-c9a0f75d81e3ffccb885f0069d45e065acc0349a.zip
follow_dotdot{,_rcu}(): lift LOOKUP_BENEATH checks out of loop
Behaviour change: LOOKUP_BENEATH lookup of .. in absolute root yields an error even if it's not the process' root. That's possible only if you'd managed to escape chroot jail by way of procfs symlinks, but IMO the resulting behaviour is not worse - more consistent and easier to describe: ".." in root is "stay where you are", uness LOOKUP_BENEATH has been given, in which case it's "fail with EXDEV". Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions