Searched refs:cap_raised (Results 1 – 4 of 4) sorted by relevance
80 !cap_raised(profile->caps.audit, cap))) in audit_caps()84 cap_raised(profile->caps.kill, cap)) { in audit_caps()86 } else if (cap_raised(profile->caps.quiet, cap) && in audit_caps()95 if (profile == ent->profile && cap_raised(ent->caps, cap)) { in audit_caps()119 return cap_raised(profile->caps.allow, cap) ? 0 : -EPERM; in profile_capable()
82 return cap_raised(current_cap(), cap); in cfs_cap_raised()
99 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) macro
88 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable()867 return !!cap_raised(old->cap_bset, arg2); in cap_task_prctl()