return NULL;
}
if (seccomp_attr_set(ctx, SCMP_FLTATR_CTL_NNP, 0)) {
- ERROR("Failed to turn off n-new-privs.");
+ ERROR("Failed to turn off no-new-privs.");
seccomp_release(ctx);
return NULL;
}
return -1;
}
if (seccomp_attr_set(conf->seccomp_ctx, SCMP_FLTATR_CTL_NNP, 0)) {
- ERROR("Failed to turn off n-new-privs.");
+ ERROR("Failed to turn off no-new-privs.");
return -1;
}
#ifdef SCMP_FLTATR_ATL_TSKIP
check_seccomp_attr_set = seccomp_attr_set(SCMP_FLTATR_CTL_NNP, 0);
#endif
if (check_seccomp_attr_set) {
- ERROR("Failed to turn off n-new-privs.");
+ ERROR("Failed to turn off no-new-privs.");
return -1;
}
#ifdef SCMP_FLTATR_ATL_TSKIP