]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
security/keys: make big_key.c explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 9 Dec 2015 22:37:15 +0000 (17:37 -0500)
committerDavid Howells <dhowells@redhat.com>
Thu, 18 Feb 2016 15:15:59 +0000 (15:15 +0000)
commita1f2bdf338f15dbad10ee6362891ebf79244858b
tree89d83d75616e80a6b5cf36c3476f280e9df6a509
parentd846e78e491ff4dd0747026c02414844d504fcb6
security/keys: make big_key.c explicitly non-modular

The Kconfig currently controlling compilation of this code is:

config BIG_KEYS
        bool "Large payload keys"

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

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

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

Cc: James Morris <james.l.morris@oracle.com>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: keyrings@vger.kernel.org
Cc: linux-security-module@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David Howells <dhowells@redhat.com>
security/keys/big_key.c