summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-11-01 07:48:31 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2026-01-13 23:16:44 +0300
commitc3fa2b7cf5dda5a73480361303441db4ba7f0e6a (patch)
tree00ef5d9b9e49a79367ff1360fd67215f3d9e3885 /include/linux
parent592ab7fbb83ffe78378d7d25e15d8799d1f1df29 (diff)
downloadlinux-c3fa2b7cf5dda5a73480361303441db4ba7f0e6a.tar.xz
chroot(2): import pathname only once
Convert the user_path_at() call inside a retry loop into getname_flags() + filename_lookup() + putname() and leave only filename_lookup() inside the loop. In this case we never pass LOOKUP_EMPTY, so getname_flags() is equivalent to plain getname(). The things could be further simplified by use of cleanup.h stuff, but let's not clutter the patch with that. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions