Home
last modified time | relevance | path

Searched refs:cap_raised (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/security/apparmor/
H A Dcapability.c77 !cap_raised(rules->caps.audit, cap))) in audit_caps()
81 cap_raised(rules->caps.kill, cap)) { in audit_caps()
83 } else if (cap_raised(rules->caps.quiet, cap) && in audit_caps()
92 if (profile == ent->profile && cap_raised(ent->caps, cap)) { in audit_caps()
125 if (cap_raised(rules->caps.allow, cap) && in profile_capable()
126 !cap_raised(rules->caps.denied, cap)) in profile_capable()
/openbmc/linux/security/
H A Dcommoncap.c78 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable()
1275 return !!cap_raised(old->cap_bset, arg2); in cap_task_prctl()
1362 return !!cap_raised(current_cred()->cap_ambient, arg3); in cap_task_prctl()
1368 (!cap_raised(current_cred()->cap_permitted, arg3) || in cap_task_prctl()
1369 !cap_raised(current_cred()->cap_inheritable, in cap_task_prctl()
/openbmc/linux/include/linux/
H A Dcapability.h75 #define cap_raised(c, flag) (((c).val & BIT_ULL(flag)) != 0) macro
/openbmc/linux/kernel/
H A Duser_namespace.c126 ns->parent_could_setfcap = cap_raised(new->cap_effective, CAP_SETFCAP); in create_user_ns()
/openbmc/linux/kernel/sched/
H A Dpsi.c1304 privileged = cap_raised(file->f_cred->cap_effective, CAP_SYS_RESOURCE); in psi_trigger_create()