Home
last modified time | relevance | path

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

/Linux-v4.19/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()
199 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in setattr_copy()
Dnamei.c348 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()
Dposix_acl.c655 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in posix_acl_update_mode()
Dinode.c2015 !capable_wrt_inode_uidgid(dir, CAP_FSETID)) in inode_init_owner()
/Linux-v4.19/kernel/
Dcapability.c483 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/
Dcapability.h245 extern bool capable_wrt_inode_uidgid(const struct inode *inode, int cap);
/Linux-v4.19/security/
Dcommoncap.c499 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/
Dsuper.c878 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) { in ovl_posix_acl_xattr_set()
/Linux-v4.19/fs/xfs/
Dxfs_ioctl.c1403 !capable_wrt_inode_uidgid(VFS_I(ip), CAP_FSETID)) in xfs_ioctl_setattr()