aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/selinux/genheaders/genheaders.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2016-11-10 21:18:29 +0000
committerPaul Moore <[email protected]>2016-11-14 20:53:04 +0000
commit13457d073c29da92001f6ee809075eaa8757fb96 (patch)
tree31dedd978a6e088a8d4e14741c37063027ad4a7c /scripts/selinux/genheaders/genheaders.c
parentproc: Pass file mode to proc_pid_make_inode (diff)
downloadkernel-13457d073c29da92001f6ee809075eaa8757fb96.tar.gz
kernel-13457d073c29da92001f6ee809075eaa8757fb96.zip
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 <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions