-
由 Tianyue Ren 提交于
stable inclusion from linux-4.19.164 commit bd7223dda090c9246b290a0b901c112d6484466a -------------------------------- [ Upstream commit 83370b31 ] Mark the inode security label as invalid if we cannot find a dentry so that we will retry later rather than marking it initialized with the unlabeled SID. Fixes: 9287aed2 ("selinux: Convert isec->lock into a spinlock") Signed-off-by: NTianyue Ren <rentianyue@kylinos.cn> [PM: minor comment tweaks] Signed-off-by: NPaul Moore <paul@paul-moore.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
c703d7d5