security_capable
security_capable(fs_info->mounter_cred, net->user_ns, CAP_NET_ADMIN, CAP_OPT_NONE) < 0) {
int security_capable(const struct cred *cred,
ret = security_capable(__task_cred(t), ns, cap, CAP_OPT_NONE);
ret = security_capable(__task_cred(t), ns, cap, CAP_OPT_NOAUDIT);
capable = security_capable(current_cred(), ns, cap, opts);
if (security_capable(file->f_cred, ns, cap, CAP_OPT_NONE) == 0)
ret = security_capable(cred, ns, CAP_SYS_PTRACE,
if (security_capable(cred, &init_user_ns, CAP_SYSLOG,