public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Fix the phase for secretmem anon_inode type
@ 2026-09-11 13:21 Zdenek Pytela
0 siblings, 0 replies; only message in thread
From: Zdenek Pytela @ 2026-09-11 13:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 9d0f01d9c3a84989e555f4f9a23152612cefd712
Author : Zdenek Pytela <zpytela@redhat.com>
Date : 2024-09-11T16:30:54+00:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/9d0f01d9c3a84989e555f4f9a23152612cefd712?branch=pr775-checkpolicy-revdeps
Log:
Fix the phase for secretmem anon_inode type
The fix for bz#2270895 contains a transition when a secretmem type of
anon_inode class is to be created, similar to io_uring and userfaultfd.
---
diff --git a/selinux-policy/anon_inode-and-similar/runtest.sh b/selinux-policy/anon_inode-and-similar/runtest.sh
index 762a788..6efbe69 100755
--- a/selinux-policy/anon_inode-and-similar/runtest.sh
+++ b/selinux-policy/anon_inode-and-similar/runtest.sh
@@ -98,7 +98,10 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest "bz#2270895"
- rlSESearchRule "allow unconfined_t unconfined_t : anon_inode { create } [ ]"
+ rlSESearchRule "allow unconfined_t secretmem_t : anon_inode { create } [ ]"
+ rlSESearchRule "allow sysadm_t secretmem_t : anon_inode { create } [ ]"
+ rlSESearchRule "type_transition unconfined_t unconfined_t : anon_inode secretmem_t [secretmem]"
+ rlSESearchRule "type_transition sysadm_t sysadm_t : anon_inode secretmem_t [secretmem]"
rlRun "stress-ng --resources 16 --timeout 5 --log-file /dev/null"
rlPhaseEnd
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:21 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:21 [tests/selinux] pr775-checkpolicy-revdeps: Fix the phase for secretmem anon_inode type Zdenek Pytela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox