summaryrefslogtreecommitdiff
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-01-26 09:29:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-29 10:21:52 +0100
commit0da89b1691602089be04e0c413567b7ce9582b21 (patch)
treed66f7a192c6668556b541946d157c44fd9bdaf72 /lib/bitmap.c
parent28414404dd0773ba51200e91c4eb5f8119d5fcd3 (diff)
do_last(): fetch directory ->i_mode and ->i_uid before it's too late
commit d0cb50185ae942b03c4327be322055d622dc79f6 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions