Searched refs:cap_capable (Results  1 – 4 of 4) sorted by relevance
| /Linux-v5.4/security/ | 
| D | commoncap.c | 65 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns,  in cap_capable()  function223 	if (cap_capable(current_cred(), current_cred()->user_ns,  in cap_inh_is_capped()
 1206 		    || (cap_capable(current_cred(),  in cap_task_prctl()
 1304 	if (cap_capable(current_cred(), &init_user_ns,  in cap_vm_enough_memory()
 1325 		ret = cap_capable(current_cred(), &init_user_ns, CAP_SYS_RAWIO,  in cap_mmap_addr()
 1343 	LSM_HOOK_INIT(capable, cap_capable),
 
 | 
| /Linux-v5.4/security/smack/ | 
| D | smack_access.c | 639 	rc = cap_capable(cred, &init_user_ns, cap, CAP_OPT_NONE);  in smack_privileged_cred()
 | 
| /Linux-v5.4/include/linux/ | 
| D | security.h | 130 extern int cap_capable(const struct cred *cred, struct user_namespace *ns,539 	return cap_capable(cred, ns, cap, opts);  in security_capable()
 
 | 
| /Linux-v5.4/security/selinux/ | 
| D | hooks.c | 3120 	if (cap_capable(cred, &init_user_ns, CAP_MAC_ADMIN, opts))  in has_cap_mac_admin()
 |