Searched refs:capable_wrt_inode_uidgid (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/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() 199 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in setattr_copy()
|
D | namei.c | 348 if (capable_wrt_inode_uidgid(inode, in generic_permission() 351 if (capable_wrt_inode_uidgid(inode, CAP_DAC_OVERRIDE)) in generic_permission() 361 if (capable_wrt_inode_uidgid(inode, CAP_DAC_READ_SEARCH)) in generic_permission() 369 if (capable_wrt_inode_uidgid(inode, CAP_DAC_OVERRIDE)) in generic_permission() 2766 return !capable_wrt_inode_uidgid(inode, CAP_FOWNER); in __check_sticky()
|
D | posix_acl.c | 655 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in posix_acl_update_mode()
|
D | inode.c | 2015 !capable_wrt_inode_uidgid(dir, CAP_FSETID)) in inode_init_owner()
|
/Linux-v4.19/kernel/ |
D | capability.c | 483 bool capable_wrt_inode_uidgid(const struct inode *inode, int cap) in capable_wrt_inode_uidgid() function 489 EXPORT_SYMBOL(capable_wrt_inode_uidgid);
|
/Linux-v4.19/include/linux/ |
D | capability.h | 245 extern bool capable_wrt_inode_uidgid(const struct inode *inode, int cap);
|
/Linux-v4.19/security/ |
D | commoncap.c | 499 if (!capable_wrt_inode_uidgid(inode, CAP_SETFCAP)) in cap_convert_nscap() 966 if (!capable_wrt_inode_uidgid(inode, CAP_SETFCAP)) in cap_inode_removexattr()
|
/Linux-v4.19/fs/overlayfs/ |
D | super.c | 878 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) { in ovl_posix_acl_xattr_set()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_ioctl.c | 1403 !capable_wrt_inode_uidgid(VFS_I(ip), CAP_FSETID)) in xfs_ioctl_setattr()
|