Lines Matching defs:path
930 int security_sb_mount(const char *dev_name, const struct path *path,
933 return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data);
941 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path)
975 int security_move_mount(const struct path *from_path, const struct path *to_path)
980 int security_path_notify(const struct path *path, u64 mask,
983 return call_int_hook(path_notify, 0, path, mask, obj_type);
1011 * The inode may still be referenced in a path walk and
1089 int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode,
1098 int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode)
1106 int security_path_rmdir(const struct path *dir, struct dentry *dentry)
1113 int security_path_unlink(const struct path *dir, struct dentry *dentry)
1121 int security_path_symlink(const struct path *dir, struct dentry *dentry,
1129 int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
1137 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
1138 const struct path *new_dir, struct dentry *new_dentry,
1157 int security_path_truncate(const struct path *path)
1159 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1161 return call_int_hook(path_truncate, 0, path);
1164 int security_path_chmod(const struct path *path, umode_t mode)
1166 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1168 return call_int_hook(path_chmod, 0, path, mode);
1171 int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
1173 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1175 return call_int_hook(path_chown, 0, path, uid, gid);
1178 int security_path_chroot(const struct path *path)
1180 return call_int_hook(path_chroot, 0, path);
1291 int security_inode_getattr(const struct path *path)
1293 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1295 return call_int_hook(inode_getattr, 0, path);