Searched refs:inode_owner_or_capable (Results 1 – 22 of 22) sorted by relevance
/linux-6.1.9/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-6.1.9/fs/ |
D | attr.c | 134 if (!inode_owner_or_capable(mnt_userns, inode)) in setattr_prepare() 150 if (!inode_owner_or_capable(mnt_userns, inode)) in setattr_prepare() 281 if (!inode_owner_or_capable(mnt_userns, inode)) { in may_setattr()
|
D | ioctl.c | 678 if (!inode_owner_or_capable(mnt_userns, inode)) in vfs_fileattr_set()
|
D | inode.c | 2354 bool inode_owner_or_capable(struct user_namespace *mnt_userns, in inode_owner_or_capable() function 2369 EXPORT_SYMBOL(inode_owner_or_capable);
|
D | fcntl.c | 50 if (!inode_owner_or_capable(file_mnt_user_ns(filp), inode)) in setfl()
|
D | posix_acl.c | 1152 if (!inode_owner_or_capable(mnt_userns, inode)) in set_posix_acl()
|
D | xattr.c | 134 !inode_owner_or_capable(mnt_userns, inode)) in xattr_permission()
|
D | namei.c | 1197 inode_owner_or_capable(mnt_userns, inode)) in may_linkat() 3200 if (flag & O_NOATIME && !inode_owner_or_capable(mnt_userns, inode)) in may_open()
|
/linux-6.1.9/fs/reiserfs/ |
D | ioctl.c | 99 if (!inode_owner_or_capable(&init_user_ns, inode)) { in reiserfs_ioctl()
|
/linux-6.1.9/mm/ |
D | mincore.c | 171 return inode_owner_or_capable(&init_user_ns, in can_do_mincore()
|
D | madvise.c | 568 return inode_owner_or_capable(&init_user_ns, in can_do_pageout()
|
/linux-6.1.9/fs/ext4/ |
D | ioctl.c | 396 !inode_owner_or_capable(mnt_userns, inode) || in swap_inode_boot_loader() 1237 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl() 1379 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl() 1401 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl() 1545 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
|
/linux-6.1.9/fs/9p/ |
D | acl.c | 258 if (!inode_owner_or_capable(&init_user_ns, inode)) in v9fs_xattr_set_acl()
|
/linux-6.1.9/fs/crypto/ |
D | policy.c | 497 if (!inode_owner_or_capable(&init_user_ns, inode)) in fscrypt_ioctl_set_policy()
|
/linux-6.1.9/fs/overlayfs/ |
D | file.c | 61 if (!inode_owner_or_capable(real_mnt_userns, realinode)) in ovl_open_realfile()
|
D | util.c | 518 if (inode_owner_or_capable(real_mnt_userns, inode)) in ovl_path_open()
|
D | super.c | 1058 if (!inode_owner_or_capable(&init_user_ns, inode)) in ovl_posix_acl_xattr_set()
|
/linux-6.1.9/fs/f2fs/ |
D | xattr.c | 120 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_xattr_advise_set()
|
D | file.c | 2046 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_start_atomic_write() 2127 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_commit_atomic_write() 2161 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_abort_atomic_write()
|
/linux-6.1.9/fs/btrfs/ |
D | ioctl.c | 2177 } else if (!inode_owner_or_capable(mnt_userns, src_inode)) { in __btrfs_ioctl_snap_create() 2316 if (!inode_owner_or_capable(file_mnt_user_ns(file), inode)) in btrfs_ioctl_subvol_setflags() 4812 if (!inode_owner_or_capable(mnt_userns, inode)) in _btrfs_ioctl_set_received_subvol()
|
/linux-6.1.9/include/linux/ |
D | fs.h | 1962 bool inode_owner_or_capable(struct user_namespace *mnt_userns,
|
/linux-6.1.9/security/selinux/ |
D | hooks.c | 3170 return (inode_owner_or_capable(mnt_userns, inode) ? 0 : -EPERM); in selinux_inode_setxattr() 3176 if (!inode_owner_or_capable(mnt_userns, inode)) in selinux_inode_setxattr()
|