Searched refs:capable_wrt_inode_uidgid (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/fs/ |
D | attr.c | 26 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() 202 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in setattr_copy()
|
D | namei.c | 346 if (capable_wrt_inode_uidgid(inode, in generic_permission() 349 if (capable_wrt_inode_uidgid(inode, CAP_DAC_OVERRIDE)) in generic_permission() 359 if (capable_wrt_inode_uidgid(inode, CAP_DAC_READ_SEARCH)) in generic_permission() 367 if (capable_wrt_inode_uidgid(inode, CAP_DAC_OVERRIDE)) in generic_permission() 2756 return !capable_wrt_inode_uidgid(inode, CAP_FOWNER); in __check_sticky()
|
D | posix_acl.c | 656 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in posix_acl_update_mode()
|
D | inode.c | 2056 !capable_wrt_inode_uidgid(dir, CAP_FSETID)) in inode_init_owner()
|
/Linux-v5.4/kernel/ |
D | capability.c | 502 bool capable_wrt_inode_uidgid(const struct inode *inode, int cap) in capable_wrt_inode_uidgid() function 508 EXPORT_SYMBOL(capable_wrt_inode_uidgid);
|
/Linux-v5.4/include/linux/ |
D | capability.h | 251 extern bool capable_wrt_inode_uidgid(const struct inode *inode, int cap);
|
/Linux-v5.4/security/ |
D | commoncap.c | 492 if (!capable_wrt_inode_uidgid(inode, CAP_SETFCAP)) in cap_convert_nscap() 958 if (!capable_wrt_inode_uidgid(inode, CAP_SETFCAP)) in cap_inode_removexattr()
|
/Linux-v5.4/fs/overlayfs/ |
D | super.c | 902 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) { in ovl_posix_acl_xattr_set()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_ioctl.c | 1605 !capable_wrt_inode_uidgid(VFS_I(ip), CAP_FSETID)) in xfs_ioctl_setattr()
|