mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-13 20:03:19 +00:00
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:
parent
24b9874f79
commit
8c26014b0c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user