Home
last modified time | relevance | path

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

/Linux-v5.4/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()
202 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in setattr_copy()
Dnamei.c346 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()
Dposix_acl.c656 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) in posix_acl_update_mode()
Dinode.c2056 !capable_wrt_inode_uidgid(dir, CAP_FSETID)) in inode_init_owner()
/Linux-v5.4/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);
/Linux-v5.4/include/linux/
Dcapability.h251 extern bool capable_wrt_inode_uidgid(const struct inode *inode, int cap);
/Linux-v5.4/security/
Dcommoncap.c492 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/
Dsuper.c902 !capable_wrt_inode_uidgid(inode, CAP_FSETID)) { in ovl_posix_acl_xattr_set()
/Linux-v5.4/fs/xfs/
Dxfs_ioctl.c1605 !capable_wrt_inode_uidgid(VFS_I(ip), CAP_FSETID)) in xfs_ioctl_setattr()