selinux: provide a "no sooner than" date for the checkreqprot removal
authorPaul Moore <paul@paul-moore.com>
Mon, 28 Sep 2020 02:37:01 +0000 (22:37 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 29 Sep 2020 20:50:57 +0000 (16:50 -0400)
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.

Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Documentation/ABI/obsolete/sysfs-selinux-checkreqprot

index 49ed9c8fd1e56dc553399983b2af61684ac6414a..ed6b52ca210ff2e8ea476a71b30724de3588a498 100644 (file)
@@ -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