public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Zdenek Pytela <zpytela@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: Update efivars path in selinux-policy/systemd-modules-load-and-similar
Date: Fri, 11 Sep 2026 13:19:33 GMT	[thread overview]
Message-ID: <178913277305.1.12072731556393092496.tests-selinux-41dfc8126eb7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 41dfc8126eb762efcf335851f781ac41e2605613
            Author : Zdenek Pytela <zpytela@redhat.com>
            Date   : 2022-01-12T12:06:21+00:00
            Stats  : +3/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/41dfc8126eb762efcf335851f781ac41e2605613?branch=pr775-checkpolicy-revdeps

            Log:
            Update efivars path in selinux-policy/systemd-modules-load-and-similar

With the selinux-policy fix for bz#1972372 in RHEL 9, the efivarfs_t
type is assigned to /sys/firmware/efi/efivars instead of
/sys/firmware/efi as such label should presumably be only on the
efivarfs filesystem, not the entire /sys/firmware/efi.

---
diff --git a/selinux-policy/systemd-modules-load-and-similar/Makefile b/selinux-policy/systemd-modules-load-and-similar/Makefile
index 27ec3f9..8631adb 100644
--- a/selinux-policy/systemd-modules-load-and-similar/Makefile
+++ b/selinux-policy/systemd-modules-load-and-similar/Makefile
@@ -81,6 +81,7 @@ $(METADATA): Makefile
 	@echo "Bug:             1833502" >> $(METADATA) # Fedora 32
 	@echo "Bug:             1838933" >> $(METADATA) # Fedora 32
 	@echo "Bug:             1942267" >> $(METADATA) # Fedora 32
+	@echo "Bug:             1972372" >> $(METADATA) # RHEL 9
 
 	rhts-lint $(METADATA)
 

diff --git a/selinux-policy/systemd-modules-load-and-similar/runtest.sh b/selinux-policy/systemd-modules-load-and-similar/runtest.sh
index 0bf4cf2..07c0385 100755
--- a/selinux-policy/systemd-modules-load-and-similar/runtest.sh
+++ b/selinux-policy/systemd-modules-load-and-similar/runtest.sh
@@ -99,8 +99,8 @@ rlJournalStart
         rlSESearchRule "allow systemd_modules_load_t bin_t : file { execute execute_no_trans map } [ ]"
     rlPhaseEnd
 
-    rlPhaseStartTest "bz#1819161 + bz#1824196 + bz#1829700 + bz#1833502 + bz#1838933"
-        rlSEMatchPathCon "/sys/firmware/efi" "efivarfs_t"
+    rlPhaseStartTest "bz#1819161 + bz#1824196 + bz#1829700 + bz#1833502 + bz#1838933 + bz#1972372"
+        rlSEMatchPathCon "/sys/firmware/efi/efivarfs" "efivarfs_t"
         rlSESearchRule "allow systemd_modules_load_t efivarfs_t : file { getattr open read } [ ]"
         rlSESearchRule "allow systemd_resolved_t efivarfs_t : file { getattr open read } [ ]"
     rlPhaseEnd

                 reply	other threads:[~2026-09-11 13:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178913277305.1.12072731556393092496.tests-selinux-41dfc8126eb7@fedoraproject.org \
    --to=zpytela@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox