Home
last modified time | relevance | path

Searched refs:isec (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/security/selinux/
Dhooks.c245 struct inode_security_struct *isec = selinux_inode(inode); in inode_alloc_security() local
248 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() local
276 isec->initialized != LABEL_INITIALIZED) { in __inode_security_revalidate()
[all …]
Dselinuxfs.c1333 struct inode_security_struct *isec; in sel_make_bools() local
1380 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() local
1955 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()