summaryrefslogtreecommitdiff
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
authorTianyue Ren <rentianyue@kylinos.cn>2020-10-09 04:36:30 +0300
committerPaul Moore <paul@paul-moore.com>2020-10-28 05:14:25 +0300
commit83370b31a915493231e5b9addc72e4bef69f8d31 (patch)
tree669e2c9601fe63e6ea71c37057dc2680d67b23a3 /security/selinux/ss/services.c
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
downloadlinux-83370b31a915493231e5b9addc72e4bef69f8d31.tar.xz
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: 9287aed2ad1f ("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>
Diffstat (limited to 'security/selinux/ss/services.c')
0 files changed, 0 insertions, 0 deletions