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: Fix a typo in the "/sys/firmware/efi/efivars" path
Date: Fri, 11 Sep 2026 13:19:34 GMT	[thread overview]
Message-ID: <178913277401.1.5331583230838876163.tests-selinux-64bda4528c09@fedoraproject.org> (raw)

            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

                 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=178913277401.1.5331583230838876163.tests-selinux-64bda4528c09@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