Revert "tests.yml: Disable policy_module() selint checks."

This reverts commit 5781a2393c.

SELint 1.2.1 supports the new policy_module syntax.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
Christian Göttsche 2022-01-29 18:56:38 +01:00
parent f84770f5ce
commit 0e06f23e07
1 changed files with 5 additions and 6 deletions

View File

@ -36,12 +36,11 @@ jobs:
- name: Run file context checker - name: Run file context checker
run: python3 -t -t -E -W error testing/check_fc_files.py run: python3 -t -t -E -W error testing/check_fc_files.py
# Disable selint until it can handle a single parameter policy_module(). - name: Run SELint
# - name: Run SELint run: |
# run: | # disable C-005 (Permissions in av rule or class declaration not ordered) for now: needs fixing
# # disable C-005 (Permissions in av rule or class declaration not ordered) for now: needs fixing # disable W-005 (Interface call from module not in optional_policy block): refpolicy does not follow this rule
# # disable W-005 (Interface call from module not in optional_policy block): refpolicy does not follow this rule selint --source --recursive --summary --fail --disable C-005 --disable W-005 policy
# #selint --source --recursive --summary --fail --disable C-005 --disable W-005 policy
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest