]> git.baikalelectronics.ru Git - kernel.git/commit
security: fs: make inode explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 9 Dec 2018 20:36:31 +0000 (15:36 -0500)
committerJames Morris <james.morris@microsoft.com>
Wed, 12 Dec 2018 22:58:51 +0000 (14:58 -0800)
commit9635b9ef96cfee9e3e42ad73889cfc685a569b33
tree7d5ed4769484178916f6aa74faaf73371169cc2f
parent642a4c03acabe072f3fb99d8b45564105eec78a0
security: fs: make inode explicitly non-modular

The Makefile/Kconfig entry controlling compilation of this code is:

security/Makefile:obj-$(CONFIG_SECURITYFS)                += inode.o

security/Kconfig:config SECURITYFS
security/Kconfig:       bool "Enable the securityfs filesystem"

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

The removal of module.h uncovered a couple previously hidden implicit
header requirements which are now included explicitly.

Cc: James Morris <jmorris@namei.org>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: linux-security-module@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/inode.c