From 0e06f23e0746f245c5639e8fc210ed9d2b4f1478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 29 Jan 2022 18:56:38 +0100 Subject: [PATCH] Revert "tests.yml: Disable policy_module() selint checks." MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5781a2393cfbc6592cf52abff1eda08afb15c898. SELint 1.2.1 supports the new policy_module syntax. Signed-off-by: Christian Göttsche --- .github/workflows/tests.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0fda7706b..1e26bab8a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,12 +36,11 @@ jobs: - name: Run file context checker 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 -# run: | -# # 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 -# #selint --source --recursive --summary --fail --disable C-005 --disable W-005 policy + - name: Run SELint + run: | + # 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 + selint --source --recursive --summary --fail --disable C-005 --disable W-005 policy build: runs-on: ubuntu-latest