selinux: provide a "no sooner than" date for the checkreqprot removal
Paul Moore
maintainerPATCH 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
@@ -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
Quoted 7 lines · Paul Moore
We marked
/sys/fs/selinux/checkreqprotas 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.Signed-off-by Paul Moore <[email protected]>
Paul Moore
maintainerQuoted 16 lines · Paul Moore
We marked
/sys/fs/selinux/checkreqprotas 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.Signed-off-by Paul Moore <[email protected]>--- .../ABI/obsolete/sysfs-selinux-checkreqprot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/ABI/obsolete/sysfs-selinux-checkreqprot +0
-0
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