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

/linux-master/security/apparmor/
H A Dcapability.c77 !cap_raised(rules->caps.audit, cap)))
81 cap_raised(rules->caps.kill, cap)) {
83 } else if (cap_raised(rules->caps.quiet, cap) &&
92 if (profile == ent->profile && cap_raised(ent->caps, cap)) {
123 if (cap_raised(rules->caps.allow, cap) &&
124 !cap_raised(rules->caps.denied, cap))
/linux-master/include/linux/
H A Dcapability.h75 #define cap_raised(c, flag) (((c).val & BIT_ULL(flag)) != 0) macro
/linux-master/security/
H A Dcommoncap.c79 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM;
1276 return !!cap_raised(old->cap_bset, arg2);
1363 return !!cap_raised(current_cred()->cap_ambient, arg3);
1369 (!cap_raised(current_cred()->cap_permitted, arg3) ||
1370 !cap_raised(current_cred()->cap_inheritable,
/linux-master/kernel/
H A Duser_namespace.c126 ns->parent_could_setfcap = cap_raised(new->cap_effective, CAP_SETFCAP);
/linux-master/kernel/sched/
H A Dpsi.c1287 privileged = cap_raised(file->f_cred->cap_effective, CAP_SYS_RESOURCE);

Completed in 293 milliseconds