Home
last modified time | relevance | path

Searched refs:capable_cred (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_cred.h45 static __inline int capable_cred(cred_t *cr, int cid) in capable_cred() function
/linux-2.4.37.9/fs/xfs/
Dxfs_acl.c455 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()
Dxfs_inode.c3752 if (capable_cred(cr, CAP_DAC_OVERRIDE)) in xfs_iaccess()
3757 if (capable_cred(cr, CAP_DAC_READ_SEARCH)) in xfs_iaccess()