Searched refs:capable_cred (Results 1 – 3 of 3) sorted by relevance
45 static __inline int capable_cred(cred_t *cr, int cid) in capable_cred() function
455 if ((mode & ACL_READ) && !capable_cred(cr, CAP_DAC_READ_SEARCH)) in xfs_acl_capability_check()457 if ((mode & ACL_WRITE) && !capable_cred(cr, CAP_DAC_OVERRIDE)) in xfs_acl_capability_check()460 (!capable_cred(cr, CAP_DAC_OVERRIDE) || in xfs_acl_capability_check()
3752 if (capable_cred(cr, CAP_DAC_OVERRIDE)) in xfs_iaccess()3757 if (capable_cred(cr, CAP_DAC_READ_SEARCH)) in xfs_iaccess()