linux-application-whitelisting / fapolicyd

File Access Policy Daemon
GNU General Public License v3.0
192 stars 55 forks source link

Identify ruleset with sha #279

Closed jw3 closed 7 months ago

jw3 commented 8 months ago

Identify the rules being loaded by logging a sha hash of the rule file.

This provides a content based identifier for rules, to identify rulesets in the same way a git sha identifies a commit. This identifier is logged at info level in the following way:

Ruleset identity: f6e01f92afaadc47fd063d73c50bf161f25e4a82d5e85187efc1da014333e5df

Closes #278

stevegrubb commented 7 months ago

I don't see any issues with the patch.

radosroka commented 7 months ago

LGTM.

radosroka commented 7 months ago

I think the failures are not related. We can merge it now.