analyze: fix offline check for syscal filter
authorLuca Boccassi <bluca@debian.org>
Thu, 31 Mar 2022 23:54:53 +0000 (00:54 +0100)
committerLuca Boccassi <bluca@debian.org>
Fri, 1 Apr 2022 09:42:48 +0000 (10:42 +0100)
commitdd51e725df9aec2847482131ef601e0215b371a0
tree9125a6061e42323a14d88565e354b60848f0f241
parent1449b0f8a96b272547e405913b37715cbbe4768a
analyze: fix offline check for syscal filter

The deny/allow list check was inverted, if we are deny listing and the
hashmap contains the syscall then that's good

Fixes https://github.com/systemd/systemd/issues/22914
src/analyze/analyze-security.c