Searched refs:cap_capable (Results 1 – 3 of 3) sorted by relevance
/security/ |
D | commoncap.c | 66 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable() function 224 if (cap_capable(current_cred(), current_cred()->user_ns, in cap_inh_is_capped() 1312 || (cap_capable(current_cred(), in cap_task_prctl() 1412 if (cap_capable(current_cred(), &init_user_ns, in cap_vm_enough_memory() 1434 ret = cap_capable(current_cred(), &init_user_ns, CAP_SYS_RAWIO, in cap_mmap_addr() 1452 LSM_HOOK_INIT(capable, cap_capable),
|
/security/smack/ |
D | smack_access.c | 660 rc = cap_capable(cred, &init_user_ns, cap, CAP_OPT_NONE); in smack_privileged_cred()
|
/security/selinux/ |
D | hooks.c | 3262 if (cap_capable(cred, &init_user_ns, CAP_MAC_ADMIN, opts)) in has_cap_mac_admin()
|