Searched refs:smk_of_inode (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/security/smack/ |
D | smack_lsm.c | 233 sskp->smk_known, smk_of_inode(inode)->smk_known, acc, in smk_bu_file() 263 sskp->smk_known, smk_of_inode(inode)->smk_known, acc, in smk_bu_credfile() 954 struct smack_known *isp = smk_of_inode(inode); in smack_inode_init_security() 955 struct smack_known *dsp = smk_of_inode(dir); in smack_inode_init_security() 1007 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_link() 1012 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link() 1041 rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); in smack_inode_unlink() 1049 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_unlink() 1074 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_rmdir() 1082 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_rmdir() [all …]
|
D | smack.h | 369 static inline struct smack_known *smk_of_inode(const struct inode *isp) in smk_of_inode() function
|