Searched refs:smk_of_inode (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.15/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() 960 struct smack_known *isp = smk_of_inode(inode); in smack_inode_init_security() 961 struct smack_known *dsp = smk_of_inode(dir); in smack_inode_init_security() 1013 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_link() 1018 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link() 1047 rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); in smack_inode_unlink() 1055 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_unlink() 1080 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_rmdir() 1088 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_rmdir() [all …]
|
| D | smack.h | 378 static inline struct smack_known *smk_of_inode(const struct inode *isp) in smk_of_inode() function
|