Searched refs:aa_capable (Results 1 – 5 of 5) sorted by relevance
/linux/security/apparmor/include/ |
H A D | capability.h | 40 int aa_capable(const struct cred *subj_cred, struct aa_label *label,
|
/linux/security/apparmor/ |
H A D | resource.c | 134 aa_capable(subj_cred, label, CAP_SYS_RESOURCE, CAP_OPT_NOAUDIT) != 0) in aa_task_setrlimit()
|
H A D | capability.c | 169 * aa_capable - test permission to use capability 179 int aa_capable(const struct cred *subj_cred, struct aa_label *label, in aa_capable() function
|
H A D | task.c | 272 ad->error = aa_capable(cred, &tracer->label, CAP_SYS_PTRACE, in profile_tracer_perm()
|
H A D | policy.c | 830 err = aa_capable(subj_cred, label, cap, CAP_OPT_NONE); in policy_ns_capable()
|