Searched refs:smk_of_inode (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/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() 977 struct smack_known *isp = smk_of_inode(inode); in smack_inode_init_security() 978 struct smack_known *dsp = smk_of_inode(dir); in smack_inode_init_security() 1030 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_link() 1035 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link() 1064 rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); in smack_inode_unlink() 1072 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_unlink() 1097 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_rmdir() 1105 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_rmdir() [all …]
|
D | smack.h | 372 static inline struct smack_known *smk_of_inode(const struct inode *isp) in smk_of_inode() function
|