Lines Matching refs:path
870 int security_sb_mount(const char *dev_name, const struct path *path,
873 return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data);
881 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path)
915 int security_move_mount(const struct path *from_path, const struct path *to_path)
920 int security_path_notify(const struct path *path, u64 mask,
923 return call_int_hook(path_notify, 0, path, mask, obj_type);
951 * The inode may still be referenced in a path walk and
1029 int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode,
1038 int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode)
1046 int security_path_rmdir(const struct path *dir, struct dentry *dentry)
1053 int security_path_unlink(const struct path *dir, struct dentry *dentry)
1061 int security_path_symlink(const struct path *dir, struct dentry *dentry,
1069 int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
1077 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
1078 const struct path *new_dir, struct dentry *new_dentry,
1097 int security_path_truncate(const struct path *path)
1099 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1101 return call_int_hook(path_truncate, 0, path);
1104 int security_path_chmod(const struct path *path, umode_t mode)
1106 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1108 return call_int_hook(path_chmod, 0, path, mode);
1111 int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
1113 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1115 return call_int_hook(path_chown, 0, path, uid, gid);
1118 int security_path_chroot(const struct path *path)
1120 return call_int_hook(path_chroot, 0, path);
1231 int security_inode_getattr(const struct path *path)
1233 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1235 return call_int_hook(inode_getattr, 0, path);