SELinuxProject / selint

Static code analysis of refpolicy style SELinux policy
Apache License 2.0
38 stars 17 forks source link

Unknown macros in .fc files has a poor error message #271

Open dburgener opened 1 year ago

dburgener commented 1 year ago

To use macros in .fc files, you need to list the macros in your config. If you use an unlisted macro, the generic E-002 error is less than helpful. It should be possible to augment to explain more specifically what failed and point users to the config file.