Home
last modified time | relevance | path

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

/security/
Dcommoncap.c64 int cap_capable(struct task_struct *tsk, const struct cred *cred, int cap, in cap_capable() function
169 if (cap_capable(current, current_cred(), CAP_SETPCAP, in cap_inh_is_capped()
879 || (cap_capable(current, current_cred(), CAP_SETPCAP, in cap_task_prctl()
961 if (cap_capable(current, current_cred(), CAP_SYS_ADMIN, in cap_vm_enough_memory()
Droot_plug.c79 .capable = cap_capable,
/security/smack/
Dsmack_lsm.c2802 .capable = cap_capable,