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: Remove all references to anon_inodefs_t
Date: Fri, 11 Sep 2026 13:19:12 GMT	[thread overview]
Message-ID: <178913275262.1.7006309018446780196.tests-selinux-eb78c1e3eb76@fedoraproject.org> (raw)

            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

                 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=178913275262.1.7006309018446780196.tests-selinux-eb78c1e3eb76@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