From: Christian Brauner Date: Wed, 6 Jun 2018 11:14:20 +0000 (+0200) Subject: seccomp: replace misleading warning messages X-Git-Tag: lxc-3.1.0~267^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2378%2Fhead;p=thirdparty%2Flxc.git seccomp: replace misleading warning messages Reported-by: Felix Abecassis Signed-off-by: Christian Brauner --- diff --git a/src/lxc/seccomp.c b/src/lxc/seccomp.c index 5718ed337..1fbaa429b 100644 --- a/src/lxc/seccomp.c +++ b/src/lxc/seccomp.c @@ -500,13 +500,13 @@ bool do_resolve_add_rule(uint32_t arch, char *line, scmp_filter_ctx ctx, nr = seccomp_syscall_resolve_name(line); if (nr == __NR_SCMP_ERROR) { WARN("Failed to resolve syscall \"%s\"", line); - WARN("This syscall will NOT be blacklisted"); + WARN("This syscall will NOT be handled by seccomp"); return true; } if (nr < 0) { WARN("Got negative return value %d for syscall \"%s\"", nr, line); - WARN("This syscall will NOT be blacklisted"); + WARN("This syscall will NOT be handled by seccomp"); return true; }