Searched refs:inode_owner_or_capable (Results 1 – 18 of 18) sorted by relevance
/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()
|
/fs/ |
D | attr.c | 199 if (!inode_owner_or_capable(mnt_userns, inode)) in setattr_prepare() 215 if (!inode_owner_or_capable(mnt_userns, inode)) in setattr_prepare() 349 if (!inode_owner_or_capable(mnt_userns, inode)) { in may_setattr()
|
D | inode.c | 2202 bool inode_owner_or_capable(struct user_namespace *mnt_userns, in inode_owner_or_capable() function 2217 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 | 939 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 | 134 !inode_owner_or_capable(mnt_userns, inode)) in xattr_permission()
|
D | namei.c | 1147 inode_owner_or_capable(mnt_userns, inode)) in may_linkat() 3247 if (flag & O_NOATIME && !inode_owner_or_capable(mnt_userns, inode)) in may_open()
|
/fs/ext4/ |
D | ioctl.c | 146 !inode_owner_or_capable(mnt_userns, inode) || in swap_inode_boot_loader() 876 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl() 1015 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl() 1037 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl() 1222 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
|
/fs/reiserfs/ |
D | ioctl.c | 99 if (!inode_owner_or_capable(&init_user_ns, inode)) { in reiserfs_ioctl()
|
/fs/9p/ |
D | acl.c | 266 if (!inode_owner_or_capable(&init_user_ns, inode)) in v9fs_xattr_set_acl()
|
/fs/crypto/ |
D | policy.c | 542 if (!inode_owner_or_capable(&init_user_ns, inode)) in fscrypt_ioctl_set_policy()
|
/fs/overlayfs/ |
D | file.c | 59 if (old_cred && !inode_owner_or_capable(&init_user_ns, in ovl_open_realfile()
|
D | util.c | 528 if (inode_owner_or_capable(&init_user_ns, inode)) in ovl_path_open()
|
D | super.c | 1068 if (!inode_owner_or_capable(&init_user_ns, inode)) in ovl_posix_acl_xattr_set()
|
/fs/f2fs/ |
D | xattr.c | 120 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_xattr_advise_set()
|
D | file.c | 2042 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_start_atomic_write() 2146 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_commit_atomic_write() 2178 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_abort_atomic_write()
|
/fs/btrfs/ |
D | ioctl.c | 1855 } else if (!inode_owner_or_capable(mnt_userns, src_inode)) { in __btrfs_ioctl_snap_create() 2004 if (!inode_owner_or_capable(file_mnt_user_ns(file), inode)) in btrfs_ioctl_subvol_setflags() 4493 if (!inode_owner_or_capable(mnt_userns, inode)) in _btrfs_ioctl_set_received_subvol()
|