Searched refs:cap_capable (Results 1 – 3 of 3) sorted by relevance
/security/ |
D | commoncap.c | 64 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()
|
D | root_plug.c | 79 .capable = cap_capable,
|
/security/smack/ |
D | smack_lsm.c | 2802 .capable = cap_capable,
|