summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-02-26 19:59:02 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-03-14 04:09:13 +0300
commitc9a0f75d81e3ffccb885f0069d45e065acc0349a (patch)
tree1b8e6d6d6fb425783d1eea0d0f37a1bcedbbbacb /tools/perf/scripts/python/bin/stackcollapse-record
parentabc2c632e0cec6f76883d008c298e31cb3e2d242 (diff)
downloadlinux-c9a0f75d81e3ffccb885f0069d45e065acc0349a.tar.xz
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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions