Searched refs:cap_raised (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/security/apparmor/ |
D | capability.c | 75 !cap_raised(profile->caps.audit, cap))) in audit_caps() 79 cap_raised(profile->caps.kill, cap)) { in audit_caps() 81 } else if (cap_raised(profile->caps.quiet, cap) && in audit_caps() 90 if (profile == ent->profile && cap_raised(ent->caps, cap)) { in audit_caps() 119 if (cap_raised(profile->caps.allow, cap) && in profile_capable() 120 !cap_raised(profile->caps.denied, cap)) in profile_capable()
|
/Linux-v5.4/security/ |
D | commoncap.c | 77 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable() 1177 return !!cap_raised(old->cap_bset, arg2); in cap_task_prctl() 1264 return !!cap_raised(current_cred()->cap_ambient, arg3); in cap_task_prctl() 1270 (!cap_raised(current_cred()->cap_permitted, arg3) || in cap_task_prctl() 1271 !cap_raised(current_cred()->cap_inheritable, in cap_task_prctl()
|
/Linux-v5.4/include/linux/ |
D | capability.h | 100 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) macro
|