From d058d9203581f1c883910c6b51f2faf95bf33634 Mon Sep 17 00:00:00 2001 From: tanyifeng Date: Sun, 10 Mar 2019 00:47:05 +0800 Subject: [PATCH 064/138] lxc: Reduce seccomp processing log level Signed-off-by: wujing Signed-off-by: LiFeng --- src/lxc/seccomp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lxc/seccomp.c b/src/lxc/seccomp.c index 26eac90..7f10777 100644 --- a/src/lxc/seccomp.c +++ b/src/lxc/seccomp.c @@ -507,14 +507,14 @@ 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 handled by seccomp"); + DEBUG("Failed to resolve syscall \"%s\"", line); + DEBUG("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 handled by seccomp"); + DEBUG("Got negative return value %d for syscall \"%s\"", nr, line); + DEBUG("This syscall will NOT be handled by seccomp"); return true; } @@ -541,7 +541,7 @@ bool do_resolve_add_rule(uint32_t arch, char *line, scmp_filter_ctx ctx, rule->args_num, arg_cmp); if (ret < 0) { errno = -ret; - SYSERROR("Failed loading rule for %s (nr %d action %d (%s))", + DEBUG("Failed loading rule for %s (nr %d action %d (%s))", line, nr, rule->action, get_action_name(rule->action)); return true; } -- 1.8.3.1