]> git.ipfire.org Git - thirdparty/systemd.git/commit
analyze: allow a custom policy to skip a check with weight=0 21237/head
authorLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 4 Nov 2021 19:48:58 +0000 (19:48 +0000)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 5 Nov 2021 22:37:34 +0000 (22:37 +0000)
commit82100ef486cf7e3b1df64b6bb29db43ac146ac6c
treee4a211abc57f9266ff49b3369ef2694eda01f69d
parent03e93377dc47a5dabb4c4b968b241ecf03f72315
analyze: allow a custom policy to skip a check with weight=0

In some cases an offline analysis should ignore some fields, for example
a portable service in an image will never list RootImage/RootDirectory, as
they are added at runtime, and thus can be skipped.
man/systemd-analyze.xml
src/analyze/analyze-security.c
test/units/testsuite-65.sh