diff options
author | David Howells <dhowells@redhat.com> | 2017-11-15 19:38:45 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-11-15 19:38:45 +0300 |
commit | 1e684d3820d8f72d877c0adb521ae17c6fc9bc88 (patch) | |
tree | 4173ce80aec78221cb0de5abf9cba21844adadbd /crypto/asymmetric_keys/pkcs7_parser.c | |
parent | 0a9dd0e0711e58aa8d19ae4446cb3fe2906a8514 (diff) | |
download | linux-1e684d3820d8f72d877c0adb521ae17c6fc9bc88.tar.xz |
pkcs7: Set the module licence to prevent tainting
Set the module licence to prevent the kernel from being tainted if loaded
as a module.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys/pkcs7_parser.c')
-rw-r--r-- | crypto/asymmetric_keys/pkcs7_parser.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/pkcs7_parser.c b/crypto/asymmetric_keys/pkcs7_parser.c index d140d8bb2c96..c1ca1e86f5c4 100644 --- a/crypto/asymmetric_keys/pkcs7_parser.c +++ b/crypto/asymmetric_keys/pkcs7_parser.c @@ -11,6 +11,7 @@ #define pr_fmt(fmt) "PKCS7: "fmt #include <linux/kernel.h> +#include <linux/module.h> #include <linux/export.h> #include <linux/slab.h> #include <linux/err.h> @@ -19,6 +20,10 @@ #include "pkcs7_parser.h" #include "pkcs7-asn1.h" +MODULE_DESCRIPTION("PKCS#7 parser"); +MODULE_AUTHOR("Red Hat, Inc."); +MODULE_LICENSE("GPL"); + struct pkcs7_parse_context { struct pkcs7_message *msg; /* Message being constructed */ struct pkcs7_signed_info *sinfo; /* SignedInfo being constructed */ |