Home
last modified time | relevance | path

Searched refs:cap_capable (Results 1 – 3 of 3) sorted by relevance

/security/
Dcommoncap.c66 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/
Dsmack_access.c660 rc = cap_capable(cred, &init_user_ns, cap, CAP_OPT_NONE); in smack_privileged_cred()
/security/selinux/
Dhooks.c3258 if (cap_capable(cred, &init_user_ns, CAP_MAC_ADMIN, opts)) in has_cap_mac_admin()