Skip to contentSkip to conversation

selinux: provide a "no sooner than" date for the checkreqprot removal

PATCH In review Paul Moore 2 participants 3 messages Sep 28, 2020 – Sep 29, 2020 SELinux security module

lore
Share & tools
lore

Paul Moore

author maintainer
#0 lore raw

PATCH 1/1 selinux: provide a "no sooner than" date for the checkreqprot removal

We marked /sys/fs/selinux/checkreqprot as deprecated in Linux v5.7, but didn't provide any guidance as to the timeframe. Considering the state of checkreqprot, it seems like one year should be enough time.

---
 .../ABI/obsolete/sysfs-selinux-checkreqprot        |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/ABI/obsolete/sysfs-selinux-checkreqprot +1 -1
index 49ed9c8fd1e5..ed6b52ca210f 100644
@@ -15,7 +15,7 @@ Description:
 	actual protection), and Android and Linux distributions have been
 	explicitly writing a "0" to /sys/fs/selinux/checkreqprot during
 	initialization for some time.  Support for setting checkreqprot to 1
-	will be	removed in a future kernel release, at which point the kernel
+	will be	removed no sooner than June 2021, at which point the kernel
 	will always cease using checkreqprot internally and will always
 	check the actual protections being applied upon mmap/mprotect calls.
 	The checkreqprot selinuxfs node will remain for backward compatibility
author maintainer
#2 lore raw
In reply to Paul Moore
Quoted 16 lines · Paul Moore

We marked /sys/fs/selinux/checkreqprot as deprecated in Linux v5.7, but didn't provide any guidance as to the timeframe. Considering the state of checkreqprot, it seems like one year should be enough time.

---
 .../ABI/obsolete/sysfs-selinux-checkreqprot        |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/ABI/obsolete/sysfs-selinux-checkreqprot +0 -0
index 49ed9c8fd1e5..ed6b52ca210f 100644

Documentation/ABI/obsolete/sysfs-selinux-checkreqprot Description: · line 21

Quoted 8 lines
Documentation/ABI/obsolete/sysfs-selinux-checkreqprot +1 -1
@@ -15,7 +15,7 @@ Description:
        actual protection), and Android and Linux distributions have been
        explicitly writing a "0" to /sys/fs/selinux/checkreqprot during
        initialization for some time.  Support for setting checkreqprot to 1
-       will be removed in a future kernel release, at which point the kernel
+       will be removed no sooner than June 2021, at which point the kernel
        will always cease using checkreqprot internally and will always
        check the actual protections being applied upon mmap/mprotect calls.
        The checkreqprot selinuxfs node will remain for backward compatibility

As this is a minor documentation change and not anything more significant I've gone ahead and merged this into selinux/next.

Signature · 2 lines
paul moore
www.paul-moore.com