Home
last modified time | relevance | path

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

/linux-2.6.39/security/smack/
Dsmack_lsm.c516 char *isp = smk_of_inode(inode); in smack_inode_init_security()
517 char *dsp = smk_of_inode(dir); in smack_inode_init_security()
569 isp = smk_of_inode(old_dentry->d_inode); in smack_inode_link()
573 isp = smk_of_inode(new_dentry->d_inode); in smack_inode_link()
601 rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); in smack_inode_unlink()
608 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_unlink()
632 rc = smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE, &ad); in smack_inode_rmdir()
639 rc = smk_curacc(smk_of_inode(dir), MAY_WRITE, &ad); in smack_inode_rmdir()
669 isp = smk_of_inode(old_dentry->d_inode); in smack_inode_rename()
673 isp = smk_of_inode(new_dentry->d_inode); in smack_inode_rename()
[all …]
Dsmack.h255 static inline char *smk_of_inode(const struct inode *isp) in smk_of_inode() function