has_capability 501 kernel/capability.c if (has_capability(current, cap)) { has_capability 132 mm/oom_kill.c if (has_capability(p, CAP_SYS_ADMIN) || has_capability 133 mm/oom_kill.c has_capability(p, CAP_SYS_RESOURCE)) has_capability 142 mm/oom_kill.c if (has_capability(p, CAP_SYS_RAWIO)) has_capability 81 security/commoncap.c if (has_capability(parent, CAP_SYS_PTRACE)) has_capability 128 security/smack/smack_lsm.c if (rc != 0 && has_capability(ptp, CAP_MAC_OVERRIDE)) has_capability 945 security/smack/smack_lsm.c if (rc != 0 && has_capability(tsk, CAP_MAC_OVERRIDE)) has_capability 1191 security/smack/smack_lsm.c if (capable(CAP_MAC_OVERRIDE) || has_capability(p, CAP_MAC_OVERRIDE))