/security/tomoyo/ |
H A D | tomoyo.c | 271 * @new_dentry: Pointer to "struct dentry". 276 struct dentry *new_dentry) 279 struct path path2 = { new_dir->mnt, new_dentry }; 289 * @new_dentry: Pointer to "struct dentry". 296 struct dentry *new_dentry) 299 struct path path2 = { new_parent->mnt, new_dentry }; 275 tomoyo_path_link(struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument 293 tomoyo_path_rename(struct path *old_parent, struct dentry *old_dentry, struct path *new_parent, struct dentry *new_dentry) argument
|
/security/ |
H A D | security.c | 448 struct dentry *new_dentry) 452 return security_ops->path_link(old_dentry, new_dir, new_dentry); 456 struct path *new_dir, struct dentry *new_dentry, 460 (new_dentry->d_inode && IS_PRIVATE(new_dentry->d_inode)))) 464 int err = security_ops->path_rename(new_dir, new_dentry, 471 new_dentry); 511 struct dentry *new_dentry) 515 return security_ops->inode_link(old_dentry, dir, new_dentry); 556 struct inode *new_dir, struct dentry *new_dentry, 447 security_path_link(struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument 455 security_path_rename(struct path *old_dir, struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry, unsigned int flags) argument 510 security_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) argument 555 security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument [all...] |
H A D | capability.c | 165 struct dentry *new_dentry) 199 struct inode *new_inode, struct dentry *new_dentry) 297 struct dentry *new_dentry) 303 struct path *new_path, struct dentry *new_dentry) 164 cap_inode_link(struct dentry *old_dentry, struct inode *inode, struct dentry *new_dentry) argument 198 cap_inode_rename(struct inode *old_inode, struct dentry *old_dentry, struct inode *new_inode, struct dentry *new_dentry) argument 296 cap_path_link(struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument 302 cap_path_rename(struct path *old_path, struct dentry *old_dentry, struct path *new_path, struct dentry *new_dentry) argument
|
/security/apparmor/include/ |
H A D | file.h | 178 struct path *new_dir, struct dentry *new_dentry);
|
/security/apparmor/ |
H A D | file.c | 335 * @new_dentry: the link being created (NOT NULL) 349 struct path *new_dir, struct dentry *new_dentry) 351 struct path link = { new_dir->mnt, new_dentry }; 348 aa_path_link(struct aa_profile *profile, struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument
|
H A D | lsm.c | 303 struct dentry *new_dentry) 313 error = aa_path_link(profile, old_dentry, new_dir, new_dentry); 318 struct path *new_dir, struct dentry *new_dentry) 329 struct path new_path = { new_dir->mnt, new_dentry }; 302 apparmor_path_link(struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument 317 apparmor_path_rename(struct path *old_dir, struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument
|
/security/smack/ |
H A D | smack_lsm.c | 831 * @new_dentry: the new object 836 struct dentry *new_dentry) 849 if (rc == 0 && new_dentry->d_inode != NULL) { 850 isp = smk_of_inode(new_dentry->d_inode); 851 smk_ad_setfield_u_fs_path_dentry(&ad, new_dentry); 853 rc = smk_bu_inode(new_dentry->d_inode, MAY_WRITE, rc); 932 * @new_dentry: the new object 942 struct dentry *new_dentry) 955 if (rc == 0 && new_dentry->d_inode != NULL) { 956 isp = smk_of_inode(new_dentry 835 smack_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) argument 939 smack_inode_rename(struct inode *old_inode, struct dentry *old_dentry, struct inode *new_inode, struct dentry *new_dentry) argument [all...] |
/security/selinux/ |
H A D | hooks.c | 1798 struct dentry *new_dentry) 1830 ad.u.dentry = new_dentry; 1832 if (new_dentry->d_inode) 1837 if (new_dentry->d_inode) { 1838 new_isec = new_dentry->d_inode->i_security; 1839 new_is_dir = S_ISDIR(new_dentry->d_inode->i_mode); 2820 static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) argument 2851 struct inode *new_inode, struct dentry *new_dentry) 2853 return may_rename(old_inode, old_dentry, new_inode, new_dentry); 1795 may_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument 2850 selinux_inode_rename(struct inode *old_inode, struct dentry *old_dentry, struct inode *new_inode, struct dentry *new_dentry) argument
|