seccomp: replace misleading warning messages

Reported-by: Felix Abecassis <fabecassis@nvidia.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-06-06 13:14:20 +02:00
parent 24b9874f79
commit 8c26014b0c
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -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;
}