Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 464b9650 authored by Al Viro's avatar Al Viro Committed by Rahul Shahare
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Change-Id: I395c97ab9d7aedbe3262e30068f22a0a3e11922f
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Git-commit: d0cb50185ae942b03c4327be322055d622dc79f6
Signed-off-by: default avatarAlam Md Danish <amddan@codeaurora.org>
parent bf12895d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment