linux/Documentation/ABI/obsolete
Paul Moore 89b223bfb8 selinux: deprecate disabling SELinux and runtime
Deprecate the CONFIG_SECURITY_SELINUX_DISABLE functionality.  The
code was originally developed to make it easier for Linux
distributions to support architectures where adding parameters to the
kernel command line was difficult.  Unfortunately, supporting runtime
disable meant we had to make some security trade-offs when it came to
the LSM hooks, as documented in the Kconfig help text:

  NOTE: selecting this option will disable the '__ro_after_init'
  kernel hardening feature for security hooks.   Please consider
  using the selinux=0 boot parameter instead of enabling this
  option.

Fortunately it looks as if that the original motivation for the
runtime disable functionality is gone, and Fedora/RHEL appears to be
the only major distribution enabling this capability at build time
so we are now taking steps to remove it entirely from the kernel.
The first step is to mark the functionality as deprecated and print
an error when it is used (what this patch is doing).  As Fedora/RHEL
makes progress in transitioning the distribution away from runtime
disable, we will introduce follow-up patches over several kernel
releases which will block for increasing periods of time when the
runtime disable is used.  Finally we will remove the option entirely
once we believe all users have moved to the kernel cmdline approach.

Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: Ondrej Mosnacek <omosnace@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2020-01-07 10:19:43 -05:00
..
sysfs-bus-usb
sysfs-class-dax device-dax: Add /sys/class/dax backwards compatibility 2019-01-06 21:41:57 -08:00
sysfs-class-net-batman-adv batman-adv: ABI: Mark sysfs files as deprecated 2019-03-25 10:01:12 +01:00
sysfs-class-net-mesh batman-adv: ABI: Mark sysfs files as deprecated 2019-03-25 10:01:12 +01:00
sysfs-class-typec usb: typec: Bus type for alternate modes 2018-07-02 17:42:36 +02:00
sysfs-driver-hid-roccat-arvo HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-isku HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-koneplus HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-konepure HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-kovaplus HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-lua HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-pyra ABI: better identificate tables 2019-06-14 18:17:12 +02:00
sysfs-driver-hid-roccat-ryos HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-savu Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
sysfs-firmware-acpi ACPI / scan: Drop support for force_remove 2017-04-13 03:51:47 +02:00
sysfs-gpio docs: gpio: add sysfs interface to the admin-guide 2019-07-15 11:03:03 -03:00
sysfs-selinux-disable selinux: deprecate disabling SELinux and runtime 2020-01-07 10:19:43 -05:00