public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rachel Menge <rlmenge@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/selinux-policy] f43: Remove deprecated checkreqprot tmpfiles write
Date: Fri, 05 Jun 2026 18:26:40 GMT [thread overview]
Message-ID: <178068400023.1.12960509072997939159.rpms-selinux-policy-58391b6f11cb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/selinux-policy
Branch : f43
Commit : 58391b6f11cb58c7de77cca1a46f8625f7376c0c
Author : Rachel Menge <rlmenge@gmail.com>
Date : 2026-06-05T18:31:12+02:00
Stats : +4/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/selinux-policy/c/58391b6f11cb58c7de77cca1a46f8625f7376c0c?branch=f43
Log:
Remove deprecated checkreqprot tmpfiles write
Remove the tmpfiles entry that writes to
/sys/fs/selinux/checkreqprot during boot.
checkreqprot was a legacy SELinux compatibility knob controlling how
mmap and mprotect permission checks handled requested protections
versus kernel-applied protections. Linux commit a7e4676e8e2c
("selinux: remove the 'checkreqprot' functionality") removed support
for changing the value.
A newer Linux commit, 644132a48f4e ("selinux: prune
/sys/fs/selinux/checkreqprot"), keeps userspace writes successful but
emits an error-level diagnostic once when the deprecated interface is
written. This causes a boot-time dmesg error from systemd-tmpfiles.
Remove the tmpfiles write so Fedora no longer touches the deprecated
interface at boot.
Signed-off-by: Rachel Menge <rlmenge@gmail.com>
---
diff --git a/changelog b/changelog
index 6d9e6dc..a08a2eb 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,6 @@
+* Wed May 20 2026 Rachel Menge <rlmenge@gmail.com> - 43.7-2
+- Remove deprecated checkreqprot tmpfiles write in selinux-policy.conf
+
* Tue Apr 28 2026 Zdenek Pytela <zpytela@redhat.com> - 43.7-1
- Allow init nnp domain transition do dirsrv_t and dirsrv_snmp_t
- Allow accounts-daemon read accountsd_share_t symlinks
diff --git a/selinux-policy.conf b/selinux-policy.conf
index f2f1ced..eb98593 100644
--- a/selinux-policy.conf
+++ b/selinux-policy.conf
@@ -1,4 +1,3 @@
z /sys/devices/system/cpu/online - - -
Z /sys/class/net - - -
z /sys/kernel/uevent_helper - - -
-w /sys/fs/selinux/checkreqprot - - - - 0
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 1201d96..8287d17 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -20,7 +20,7 @@
Summary: SELinux policy configuration
Name: selinux-policy
Version: 43.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL-2.0-or-later
Source: %{giturl}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
Source1: Makefile.devel
reply other threads:[~2026-06-05 18:26 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=178068400023.1.12960509072997939159.rpms-selinux-policy-58391b6f11cb@fedoraproject.org \
--to=rlmenge@gmail.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