Searched refs:new_dentry (Results 1 – 7 of 7) sorted by relevance
/security/tomoyo/ |
D | tomoyo.c | 269 struct dentry *new_dentry) in tomoyo_path_link() argument 272 struct path path2 = { new_dir->mnt, new_dentry }; in tomoyo_path_link() 289 struct dentry *new_dentry) in tomoyo_path_rename() argument 292 struct path path2 = { new_parent->mnt, new_dentry }; in tomoyo_path_rename()
|
/security/ |
D | security.c | 454 struct dentry *new_dentry) in security_path_link() argument 458 return call_int_hook(path_link, 0, old_dentry, new_dir, new_dentry); in security_path_link() 462 struct path *new_dir, struct dentry *new_dentry, in security_path_rename() argument 466 (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode(new_dentry))))) in security_path_rename() 470 int err = call_int_hook(path_rename, 0, new_dir, new_dentry, in security_path_rename() 477 new_dentry); in security_path_rename() 518 struct dentry *new_dentry) in security_inode_link() argument 522 return call_int_hook(inode_link, 0, old_dentry, dir, new_dentry); in security_inode_link() 563 struct inode *new_dir, struct dentry *new_dentry, in security_inode_rename() argument 567 (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode(new_dentry))))) in security_inode_rename() [all …]
|
/security/apparmor/ |
D | lsm.c | 293 struct dentry *new_dentry) in apparmor_path_link() argument 303 error = aa_path_link(profile, old_dentry, new_dir, new_dentry); in apparmor_path_link() 308 struct path *new_dir, struct dentry *new_dentry) in apparmor_path_rename() argument 319 struct path new_path = { new_dir->mnt, new_dentry }; in apparmor_path_rename()
|
D | file.c | 350 struct path *new_dir, struct dentry *new_dentry) in aa_path_link() argument 352 struct path link = { new_dir->mnt, new_dentry }; in aa_path_link()
|
/security/apparmor/include/ |
D | file.h | 178 struct path *new_dir, struct dentry *new_dentry);
|
/security/smack/ |
D | smack_lsm.c | 1068 struct dentry *new_dentry) in smack_inode_link() argument 1081 if (rc == 0 && d_is_positive(new_dentry)) { in smack_inode_link() 1082 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link() 1083 smk_ad_setfield_u_fs_path_dentry(&ad, new_dentry); in smack_inode_link() 1085 rc = smk_bu_inode(d_backing_inode(new_dentry), MAY_WRITE, rc); in smack_inode_link() 1174 struct dentry *new_dentry) in smack_inode_rename() argument 1187 if (rc == 0 && d_is_positive(new_dentry)) { in smack_inode_rename() 1188 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_rename() 1189 smk_ad_setfield_u_fs_path_dentry(&ad, new_dentry); in smack_inode_rename() 1191 rc = smk_bu_inode(d_backing_inode(new_dentry), MAY_READWRITE, rc); in smack_inode_rename()
|
/security/selinux/ |
D | hooks.c | 1846 struct dentry *new_dentry) in may_rename() argument 1878 ad.u.dentry = new_dentry; in may_rename() 1880 if (d_is_positive(new_dentry)) in may_rename() 1885 if (d_is_positive(new_dentry)) { in may_rename() 1886 new_isec = d_backing_inode(new_dentry)->i_security; in may_rename() 1887 new_is_dir = d_is_dir(new_dentry); in may_rename() 2809 …tic int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) in selinux_inode_link() argument 2840 struct inode *new_inode, struct dentry *new_dentry) in selinux_inode_rename() argument 2842 return may_rename(old_inode, old_dentry, new_inode, new_dentry); in selinux_inode_rename()
|