public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Fix a typo in the "/sys/firmware/efi/efivars" path
@ 2026-09-11 13:19 Zdenek Pytela
  0 siblings, 0 replies; only message in thread
From: Zdenek Pytela @ 2026-09-11 13:19 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 64bda4528c094e580336fab208a669b723312369
            Author : Zdenek Pytela <zpytela@redhat.com>
            Date   : 2022-01-18T10:57:42+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/64bda4528c094e580336fab208a669b723312369?branch=pr775-checkpolicy-revdeps

            Log:
            Fix a typo in the "/sys/firmware/efi/efivars" path

While the filesystem name for efi variables is efivarfs and the relevant
type efivarfs_t, the path for the variables list reads just efivars, so
rlSEMatchPathCon needs to be used with the correct path.

---
diff --git a/selinux-policy/systemd-modules-load-and-similar/runtest.sh b/selinux-policy/systemd-modules-load-and-similar/runtest.sh
index 07c0385..2f69ac8 100755
--- a/selinux-policy/systemd-modules-load-and-similar/runtest.sh
+++ b/selinux-policy/systemd-modules-load-and-similar/runtest.sh
@@ -100,7 +100,7 @@ rlJournalStart
     rlPhaseEnd
 
     rlPhaseStartTest "bz#1819161 + bz#1824196 + bz#1829700 + bz#1833502 + bz#1838933 + bz#1972372"
-        rlSEMatchPathCon "/sys/firmware/efi/efivarfs" "efivarfs_t"
+        rlSEMatchPathCon "/sys/firmware/efi/efivars" "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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:19 [tests/selinux] pr775-checkpolicy-revdeps: Fix a typo in the "/sys/firmware/efi/efivars" path Zdenek Pytela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox