diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-11-11 00:18:29 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-11-14 23:53:04 +0300 |
commit | 13457d073c29da92001f6ee809075eaa8757fb96 (patch) | |
tree | 31dedd978a6e088a8d4e14741c37063027ad4a7c /CREDITS | |
parent | db978da8fa1d0819b210c137d31a339149b88875 (diff) | |
download | linux-13457d073c29da92001f6ee809075eaa8757fb96.tar.xz |
selinux: Clean up initialization of isec->sclass
Now that isec->initialized == LABEL_INITIALIZED implies that
isec->sclass is valid, skip such inodes immediately in
inode_doinit_with_dentry.
For the remaining inodes, initialize isec->sclass at the beginning of
inode_doinit_with_dentry to simplify the code.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions