Searched refs:cap_capable (Results 1 – 7 of 7) sorted by relevance
| /linux/security/ |
| A D | commoncap.c | 65 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable() function 223 if (cap_capable(current_cred(), current_cred()->user_ns, in cap_inh_is_capped() 1307 || (cap_capable(current_cred(), in cap_task_prctl() 1407 if (cap_capable(current_cred(), &init_user_ns, in cap_vm_enough_memory() 1429 ret = cap_capable(current_cred(), &init_user_ns, CAP_SYS_RAWIO, in cap_mmap_addr() 1447 LSM_HOOK_INIT(capable, cap_capable),
|
| /linux/security/smack/ |
| A D | smack_access.c | 660 rc = cap_capable(cred, &init_user_ns, cap, CAP_OPT_NONE); in smack_privileged_cred()
|
| /linux/include/linux/ |
| A D | security.h | 138 extern int cap_capable(const struct cred *cred, struct user_namespace *ns, 569 return cap_capable(cred, ns, cap, opts); in security_capable()
|
| /linux/security/apparmor/ |
| A D | policy.c | 643 err = cap_capable(current_cred(), userns, cap, CAP_OPT_NONE); in policy_ns_capable()
|
| /linux/security/selinux/ |
| A D | hooks.c | 3249 if (cap_capable(cred, &init_user_ns, CAP_MAC_ADMIN, opts)) in has_cap_mac_admin()
|
| /linux/ |
| A D | System.map | 14703 ffff800010438ec0 T cap_capable
|
| A D | .tmp_System.map | 14703 ffff800010438ec0 T cap_capable
|
Completed in 324 milliseconds