summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-01-26 17:29:34 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-01-26 17:31:07 +0300
commitd0cb50185ae942b03c4327be322055d622dc79f6 (patch)
treee2c9f7a3ad0f2e779d41d05b1c9a7eeec066db39 /lib/test-string_helpers.c
parent508c8772760d4ef9c1a044519b564710c3684fc5 (diff)
downloadlinux-d0cb50185ae942b03c4327be322055d622dc79f6.tar.xz
do_last(): fetch directory ->i_mode and ->i_uid before it's too late
may_create_in_sticky() call is done when we already have dropped the reference to dir. Fixes: 30aba6656f61e (namei: allow restricted O_CREAT of FIFOs and regular files) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions