selinux/checkpolicy/fuzz
Christian Göttsche 82d99136cf checkpolicy: drop global policyvers variable
Drop the global variable policyvers.  The variable is only used within
checkpolicy.c and checkmodule.c, but never in any shared code.

Since the variable declaration is the only content of checkpolicy.h drop
it.

Also set the policy version before calls to read_source_policy(), so the
parser can access the requested version for checks this way.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2024-05-01 16:48:25 -04:00
..
checkpolicy-fuzzer.c checkpolicy: drop global policyvers variable 2024-05-01 16:48:25 -04:00
checkpolicy-fuzzer.dict checkpolicy: add libfuzz based fuzzer 2024-03-04 09:54:47 -05:00
min_pol.conf checkpolicy: add libfuzz based fuzzer 2024-03-04 09:54:47 -05:00
min_pol.mls.conf checkpolicy: add libfuzz based fuzzer 2024-03-04 09:54:47 -05:00