]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
seccomp: replace misleading warning messages 2378/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 6 Jun 2018 11:14:20 +0000 (13:14 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 6 Jun 2018 11:14:20 +0000 (13:14 +0200)
Reported-by: Felix Abecassis <fabecassis@nvidia.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/seccomp.c

index 5718ed337fc2416b3e54cc8abb70d7bae694ca47..1fbaa429b66541bb4e56c70680fc91be75cff8bf 100644 (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;
        }