]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: runtime disable is deprecated, add some ssleep() discomfort
authorPaul Moore <paul@paul-moore.com>
Tue, 1 Mar 2022 22:53:01 +0000 (17:53 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 4 Apr 2022 20:20:51 +0000 (16:20 -0400)
commit8033563cfd64c813cab9634240337ba7d8f9bdf2
tree4ff2512ec24ba3e83cd6030aaa6addc6e38047cc
parentc45d80045a00f0def0e11573f59c3d6e2ccd11e4
selinux: runtime disable is deprecated, add some ssleep() discomfort

We deprecated the SELinux runtime disable functionality in Linux
v5.6, and it is time to get a bit more serious about removing it.
Add a five second sleep to anyone using it to help draw their
attention to the deprecation and provide a URL which helps explain
things in more detail, including how to add kernel command line
parameters to some of the more popular Linux distributions.

Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/selinuxfs.c