Searched refs:inode_owner_or_capable (Results 1 – 22 of 22) sorted by relevance
/Linux-v5.15/fs/ext2/ |
D | ioctl.c | 69 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/ |
D | attr.c | 126 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()
|
D | inode.c | 2192 bool inode_owner_or_capable(struct user_namespace *mnt_userns, in inode_owner_or_capable() function 2207 EXPORT_SYMBOL(inode_owner_or_capable);
|
D | ioctl.c | 682 if (!inode_owner_or_capable(mnt_userns, inode)) in vfs_fileattr_set()
|
D | posix_acl.c | 924 if (!inode_owner_or_capable(mnt_userns, inode)) in set_posix_acl()
|
D | fcntl.c | 50 if (!inode_owner_or_capable(file_mnt_user_ns(filp), inode)) in setfl()
|
D | xattr.c | 132 !inode_owner_or_capable(mnt_userns, inode)) in xattr_permission()
|
D | namei.c | 1145 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/ |
D | ioctl.c | 145 !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/ |
D | ioctl.c | 99 if (!inode_owner_or_capable(&init_user_ns, inode)) { in reiserfs_ioctl()
|
/Linux-v5.15/mm/ |
D | mincore.c | 169 return inode_owner_or_capable(&init_user_ns, in can_do_mincore()
|
D | madvise.c | 544 return inode_owner_or_capable(&init_user_ns, in can_do_pageout()
|
/Linux-v5.15/fs/9p/ |
D | acl.c | 265 if (!inode_owner_or_capable(&init_user_ns, inode)) in v9fs_xattr_set_acl()
|
/Linux-v5.15/fs/crypto/ |
D | policy.c | 468 if (!inode_owner_or_capable(&init_user_ns, inode)) in fscrypt_ioctl_set_policy()
|
/Linux-v5.15/fs/overlayfs/ |
D | file.c | 57 if (!inode_owner_or_capable(&init_user_ns, realinode)) in ovl_open_realfile()
|
D | util.c | 490 if (inode_owner_or_capable(&init_user_ns, inode)) in ovl_path_open()
|
D | super.c | 1036 if (!inode_owner_or_capable(&init_user_ns, inode)) in ovl_posix_acl_xattr_set()
|
/Linux-v5.15/fs/f2fs/ |
D | file.c | 1990 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()
|
D | xattr.c | 120 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_xattr_advise_set()
|
/Linux-v5.15/fs/btrfs/ |
D | ioctl.c | 1851 } 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/ |
D | fs.h | 1937 bool inode_owner_or_capable(struct user_namespace *mnt_userns,
|
/Linux-v5.15/security/selinux/ |
D | hooks.c | 3290 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()
|