public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Update efivars path in selinux-policy/systemd-modules-load-and-similar
@ 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 : 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
^ 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: Update efivars path in selinux-policy/systemd-modules-load-and-similar Zdenek Pytela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox