Searched refs:smk_of_inode (Results 1 – 2 of 2) sorted by relevance
/security/smack/ |
D | smack_lsm.c | 230 sskp->smk_known, smk_of_inode(inode)->smk_known, acc, in smk_bu_file() 260 sskp->smk_known, smk_of_inode(inode)->smk_known, acc, in smk_bu_credfile() 961 struct smack_known *isp = smk_of_inode(inode); in smack_inode_init_security() 962 struct smack_known *dsp = smk_of_inode(dir); in smack_inode_init_security() 1028 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_link() 1033 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link() 1062 rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); in smack_inode_unlink() 1070 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_unlink() 1095 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_rmdir() 1103 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_rmdir() [all …]
|
D | smack.h | 379 static inline struct smack_known *smk_of_inode(const struct inode *isp) in smk_of_inode() function
|