Home
last modified time | relevance | path

Searched refs:capable_wrt_inode_uidgid (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/fs/
Dattr.c26 if (capable_wrt_inode_uidgid(inode, CAP_CHOWN)) in chown_ok()
39 if (capable_wrt_inode_uidgid(inode, CAP_CHOWN)) in chgrp_ok()
95 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in setattr_prepare()
198 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in setattr_copy()
Dnamei.c360 if (capable_wrt_inode_uidgid(inode, in generic_permission()
363 if (capable_wrt_inode_uidgid(inode, CAP_DAC_OVERRIDE)) in generic_permission()
373 if (capable_wrt_inode_uidgid(inode, CAP_DAC_READ_SEARCH)) in generic_permission()
381 if (capable_wrt_inode_uidgid(inode, CAP_DAC_OVERRIDE)) in generic_permission()
2676 return !capable_wrt_inode_uidgid(inode, CAP_FOWNER); in __check_sticky()
Dposix_acl.c659 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in posix_acl_update_mode()
Dinode.c2154 !capable_wrt_inode_uidgid(dir, CAP_FSETID)) in inode_init_owner()
/kernel/linux/linux-5.10/kernel/
Dcapability.c502 bool capable_wrt_inode_uidgid(const struct inode *inode, int cap) in capable_wrt_inode_uidgid() function
508 EXPORT_SYMBOL(capable_wrt_inode_uidgid);
/kernel/linux/linux-5.10/include/linux/
Dcapability.h251 extern bool capable_wrt_inode_uidgid(const struct inode *inode, int cap);
/kernel/linux/linux-5.10/security/
Dcommoncap.c513 if (!capable_wrt_inode_uidgid(inode, CAP_SETFCAP)) in cap_convert_nscap()
981 if (!capable_wrt_inode_uidgid(inode, CAP_SETFCAP)) in cap_inode_removexattr()
/kernel/linux/linux-5.10/fs/overlayfs/
Dsuper.c996 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) { in ovl_posix_acl_xattr_set()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_ioctl.c1506 !capable_wrt_inode_uidgid(VFS_I(ip), CAP_FSETID)) in xfs_ioctl_setattr()
/kernel/linux/linux-5.10/fs/ceph/
Dfile.c625 !capable_wrt_inode_uidgid(dir, CAP_FSETID)) in ceph_finish_async_create()
/kernel/linux/linux-5.10/fs/f2fs/
Dfile.c858 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in __setattr_copy()