ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
12 stars 5 forks source link

Reload rules while profiling #990

Closed jw3 closed 8 months ago

jw3 commented 8 months ago

Allow rules to be loaded dynamically into a profiling session.

This allows for a better test / update cycle while profiling as the profiler does not have to be shutdown to update rules.

This also adds a new concept, the "Rule Identity", which provides a sha256 hash of the rule database to allow change monitoring across both profiler and systemd daemon execution. This hash is based on the compiled rules to provide a precise content based hash.

Closes #985 Closes #989