cred_has_capability 2178 security/selinux/hooks.c return cred_has_capability(cred, cap, opts, ns == &init_user_ns); cred_has_capability 2251 security/selinux/hooks.c rc = cred_has_capability(current_cred(), CAP_SYS_ADMIN, cred_has_capability 3134 security/selinux/hooks.c if (cred_has_capability(cred, CAP_MAC_ADMIN, opts, true)) cred_has_capability 3637 security/selinux/hooks.c error = cred_has_capability(cred, CAP_SYS_TTY_CONFIG,