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 the phase for secretmem anon_inode type
Date: Fri, 11 Sep 2026 13:21:57 GMT [thread overview]
Message-ID: <178913291771.1.15337892332802695558.tests-selinux-9d0f01d9c3a8@fedoraproject.org> (raw)
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
reply other threads:[~2026-09-11 13:21 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=178913291771.1.15337892332802695558.tests-selinux-9d0f01d9c3a8@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