public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Remove all references to anon_inodefs_t
@ 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 : eb78c1e3eb76eb56bb06347b90dc68f59671fc2d
Author : Zdenek Pytela <zpytela@redhat.com>
Date : 2021-05-24T13:19:58+00:00
Stats : +0/-4 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/eb78c1e3eb76eb56bb06347b90dc68f59671fc2d?branch=pr775-checkpolicy-revdeps
Log:
Remove all references to anon_inodefs_t
Since kernel commit 3836a03d978e ("anon_inodes: mark the anon inode
private") - i.e. for over 10 years ago (!) - anon_inodefs inodes are no
longer exposed to LSMs so all rules containing reference to the
anon_inodefs_t type were removed from selinux-policy.
---
diff --git a/selinux-policy/kerberos-and-similar/runtest.sh b/selinux-policy/kerberos-and-similar/runtest.sh
index 79acf20..60a9c1a 100755
--- a/selinux-policy/kerberos-and-similar/runtest.sh
+++ b/selinux-policy/kerberos-and-similar/runtest.sh
@@ -67,10 +67,6 @@ rlJournalStart
rlPhaseStartTest "bz#860666"
rlSEMatchPathCon "/usr/sbin/krb5kdc" "krb5kdc_exec_t"
rlSEMatchPathCon "/usr/sbin/kadmind" "kadmind_exec_t"
- rlSESearchRule "allow krb5kdc_t anon_inodefs_t : file { getattr read write }"
- rlSESearchRule "allow krb5kdc_t anon_inodefs_t : dir { getattr search }"
- rlSESearchRule "allow kadmind_t anon_inodefs_t : file { getattr read write }"
- rlSESearchRule "allow kadmind_t anon_inodefs_t : dir { getattr search }"
rlPhaseEnd
if ! rlIsRHEL 5 6 ; then
^ 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: Remove all references to anon_inodefs_t Zdenek Pytela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox