Lines Matching refs:path
975 int security_sb_mount(const char *dev_name, const struct path *path,
978 return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data);
986 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path)
1020 int security_move_mount(const struct path *from_path, const struct path *to_path)
1025 int security_path_notify(const struct path *path, u64 mask,
1028 return call_int_hook(path_notify, 0, path, mask, obj_type);
1056 * The inode may still be referenced in a path walk and
1143 int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode,
1152 int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode)
1160 int security_path_rmdir(const struct path *dir, struct dentry *dentry)
1167 int security_path_unlink(const struct path *dir, struct dentry *dentry)
1175 int security_path_symlink(const struct path *dir, struct dentry *dentry,
1183 int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
1191 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
1192 const struct path *new_dir, struct dentry *new_dentry,
1211 int security_path_truncate(const struct path *path)
1213 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1215 return call_int_hook(path_truncate, 0, path);
1218 int security_path_chmod(const struct path *path, umode_t mode)
1220 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1222 return call_int_hook(path_chmod, 0, path, mode);
1225 int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
1227 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1229 return call_int_hook(path_chown, 0, path, uid, gid);
1232 int security_path_chroot(const struct path *path)
1234 return call_int_hook(path_chroot, 0, path);
1345 int security_inode_getattr(const struct path *path)
1347 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
1349 return call_int_hook(inode_getattr, 0, path);