Re: [PATCH 1/3] checkpolicy: add option to skip checking neverallow rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/31/2023 1:34 PM, Christian Göttsche wrote:
Add the command line argument `-N/--disable-neverallow`, similar to
secilc(8), to checkpolicy(8) and checkmodule(8) to skip the check of
neverallow rule violations.

This is mainly useful in development, e.g. to quickly add rules to a
policy without fulfilling all neverallow rules or build policies with
known violations.

I think it might be helpful to print a quick warning along the lines of "Warning: neverallow checking is disabled, compiled policy may violate neverallow rules" or similar when the flag is set, just to double-check against accidental misuse.

-Daniel




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux