Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selinux: fix error initialization in inode_doinit_with_dentry()
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: 9287aed ("selinux: Convert isec->lock into a spinlock") Signed-off-by: Tianyue Ren <rentianyue@kylinos.cn> [PM: minor comment tweaks] Signed-off-by: Paul Moore <paul@paul-moore.com>
- Loading branch information