Home
last modified time | relevance | path

Searched refs:inode_owner_or_capable (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.15/fs/ext2/
Dioctl.c69 if (!inode_owner_or_capable(&init_user_ns, inode)) in ext2_ioctl()
102 if (!inode_owner_or_capable(&init_user_ns, inode)) in ext2_ioctl()
/Linux-v5.15/fs/
Dattr.c126 if (!inode_owner_or_capable(mnt_userns, inode)) in setattr_prepare()
137 if (!inode_owner_or_capable(mnt_userns, inode)) in setattr_prepare()
270 if (!inode_owner_or_capable(mnt_userns, inode)) { in may_setattr()
Dinode.c2192 bool inode_owner_or_capable(struct user_namespace *mnt_userns, in inode_owner_or_capable() function
2207 EXPORT_SYMBOL(inode_owner_or_capable);
Dioctl.c682 if (!inode_owner_or_capable(mnt_userns, inode)) in vfs_fileattr_set()
Dposix_acl.c924 if (!inode_owner_or_capable(mnt_userns, inode)) in set_posix_acl()
Dfcntl.c50 if (!inode_owner_or_capable(file_mnt_user_ns(filp), inode)) in setfl()
Dxattr.c132 !inode_owner_or_capable(mnt_userns, inode)) in xattr_permission()
Dnamei.c1145 inode_owner_or_capable(mnt_userns, inode)) in may_linkat()
3066 if (flag & O_NOATIME && !inode_owner_or_capable(mnt_userns, inode)) in may_open()
/Linux-v5.15/fs/ext4/
Dioctl.c145 !inode_owner_or_capable(mnt_userns, inode) || in swap_inode_boot_loader()
874 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
1013 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
1035 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
1222 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
/Linux-v5.15/fs/reiserfs/
Dioctl.c99 if (!inode_owner_or_capable(&init_user_ns, inode)) { in reiserfs_ioctl()
/Linux-v5.15/mm/
Dmincore.c169 return inode_owner_or_capable(&init_user_ns, in can_do_mincore()
Dmadvise.c544 return inode_owner_or_capable(&init_user_ns, in can_do_pageout()
/Linux-v5.15/fs/9p/
Dacl.c265 if (!inode_owner_or_capable(&init_user_ns, inode)) in v9fs_xattr_set_acl()
/Linux-v5.15/fs/crypto/
Dpolicy.c468 if (!inode_owner_or_capable(&init_user_ns, inode)) in fscrypt_ioctl_set_policy()
/Linux-v5.15/fs/overlayfs/
Dfile.c57 if (!inode_owner_or_capable(&init_user_ns, realinode)) in ovl_open_realfile()
Dutil.c490 if (inode_owner_or_capable(&init_user_ns, inode)) in ovl_path_open()
Dsuper.c1036 if (!inode_owner_or_capable(&init_user_ns, inode)) in ovl_posix_acl_xattr_set()
/Linux-v5.15/fs/f2fs/
Dfile.c1990 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_ioc_start_atomic_write()
2057 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_ioc_commit_atomic_write()
2099 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_ioc_start_volatile_write()
2134 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_ioc_release_volatile_write()
2163 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_ioc_abort_volatile_write()
Dxattr.c120 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_xattr_advise_set()
/Linux-v5.15/fs/btrfs/
Dioctl.c1851 } else if (!inode_owner_or_capable(mnt_userns, src_inode)) { in __btrfs_ioctl_snap_create()
1991 if (!inode_owner_or_capable(file_mnt_user_ns(file), inode)) in btrfs_ioctl_subvol_setflags()
4471 if (!inode_owner_or_capable(mnt_userns, inode)) in _btrfs_ioctl_set_received_subvol()
/Linux-v5.15/include/linux/
Dfs.h1937 bool inode_owner_or_capable(struct user_namespace *mnt_userns,
/Linux-v5.15/security/selinux/
Dhooks.c3290 return (inode_owner_or_capable(mnt_userns, inode) ? 0 : -EPERM); in selinux_inode_setxattr()
3296 if (!inode_owner_or_capable(mnt_userns, inode)) in selinux_inode_setxattr()