diff options
author | 2019-12-07 01:13:29 +1100 | |
---|---|---|
committer | 2019-12-08 19:09:39 -0500 | |
commit | 740a16782750a5b6c7d1609a9c09641ce6753ea6 (patch) | |
tree | 807afa27c82fc7dfcb37df102180ee55f8f4d1a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | namei: allow nd_jump_link() to produce errors (diff) | |
download | linux-rng-740a16782750a5b6c7d1609a9c09641ce6753ea6.tar.xz linux-rng-740a16782750a5b6c7d1609a9c09641ce6753ea6.zip |
namei: allow set_root() to produce errors
For LOOKUP_BENEATH and LOOKUP_IN_ROOT it is necessary to ensure that
set_root() is never called, and thus (for hardening purposes) it should
return an error rather than permit a breakout from the root. In
addition, move all of the repetitive set_root() calls to nd_jump_root().
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions