Home
last modified time | relevance | path

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

/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()
/fs/
Dattr.c199 if (!inode_owner_or_capable(mnt_userns, inode)) in setattr_prepare()
214 if (!inode_owner_or_capable(mnt_userns, inode)) in setattr_prepare()
344 if (!inode_owner_or_capable(mnt_userns, inode)) { in may_setattr()
Dinode.c2370 bool inode_owner_or_capable(struct user_namespace *mnt_userns, in inode_owner_or_capable() function
2385 EXPORT_SYMBOL(inode_owner_or_capable);
Dioctl.c678 if (!inode_owner_or_capable(mnt_userns, inode)) in vfs_fileattr_set()
Dfcntl.c50 if (!inode_owner_or_capable(file_mnt_user_ns(filp), inode)) in setfl()
Dposix_acl.c1152 if (!inode_owner_or_capable(mnt_userns, inode)) in set_posix_acl()
Dxattr.c134 !inode_owner_or_capable(mnt_userns, inode)) in xattr_permission()
Dnamei.c1199 inode_owner_or_capable(mnt_userns, inode)) in may_linkat()
3270 if (flag & O_NOATIME && !inode_owner_or_capable(mnt_userns, inode)) in may_open()
/fs/ext4/
Dioctl.c396 !inode_owner_or_capable(mnt_userns, inode) || in swap_inode_boot_loader()
1241 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
1383 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
1405 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
1549 if (!inode_owner_or_capable(mnt_userns, inode)) in __ext4_ioctl()
/fs/reiserfs/
Dioctl.c99 if (!inode_owner_or_capable(&init_user_ns, inode)) { in reiserfs_ioctl()
/fs/9p/
Dacl.c258 if (!inode_owner_or_capable(&init_user_ns, inode)) in v9fs_xattr_set_acl()
/fs/crypto/
Dpolicy.c542 if (!inode_owner_or_capable(&init_user_ns, inode)) in fscrypt_ioctl_set_policy()
/fs/overlayfs/
Dfile.c62 if (old_cred && !inode_owner_or_capable(real_mnt_userns, in ovl_open_realfile()
Dutil.c545 if (inode_owner_or_capable(real_mnt_userns, inode)) in ovl_path_open()
Dsuper.c1079 if (!inode_owner_or_capable(&init_user_ns, inode)) in ovl_posix_acl_xattr_set()
/fs/f2fs/
Dxattr.c120 if (!inode_owner_or_capable(&init_user_ns, inode)) in f2fs_xattr_advise_set()
Dfile.c2069 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_start_atomic_write()
2173 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_commit_atomic_write()
2205 if (!inode_owner_or_capable(mnt_userns, inode)) in f2fs_ioc_abort_atomic_write()
/fs/btrfs/
Dioctl.c2182 } else if (!inode_owner_or_capable(mnt_userns, src_inode)) { in __btrfs_ioctl_snap_create()
2330 if (!inode_owner_or_capable(file_mnt_user_ns(file), inode)) in btrfs_ioctl_subvol_setflags()
4849 if (!inode_owner_or_capable(mnt_userns, inode)) in _btrfs_ioctl_set_received_subvol()