Searched refs:isec (Results 1 – 2 of 2) sorted by relevance
245 struct inode_security_struct *isec = selinux_inode(inode); in inode_alloc_security() local248 spin_lock_init(&isec->lock); in inode_alloc_security()249 INIT_LIST_HEAD(&isec->list); in inode_alloc_security()250 isec->inode = inode; in inode_alloc_security()251 isec->sid = SECINITSID_UNLABELED; in inode_alloc_security()252 isec->sclass = SECCLASS_FILE; in inode_alloc_security()253 isec->task_sid = sid; in inode_alloc_security()254 isec->initialized = LABEL_INVALID; in inode_alloc_security()271 struct inode_security_struct *isec = selinux_inode(inode); in __inode_security_revalidate() local276 isec->initialized != LABEL_INITIALIZED) { in __inode_security_revalidate()[all …]
1333 struct inode_security_struct *isec; in sel_make_bools() local1380 isec = selinux_inode(inode); in sel_make_bools()1389 isec->sid = sid; in sel_make_bools()1390 isec->initialized = LABEL_INITIALIZED; in sel_make_bools()1901 struct inode_security_struct *isec; in sel_fill_super() local1955 isec = selinux_inode(inode); in sel_fill_super()1956 isec->sid = SECINITSID_DEVNULL; in sel_fill_super()1957 isec->sclass = SECCLASS_CHR_FILE; in sel_fill_super()1958 isec->initialized = LABEL_INITIALIZED; in sel_fill_super()