aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/crypto/deflate.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2014-11-20 17:05:53 -0800
committerHerbert Xu <[email protected]>2014-11-24 22:43:57 +0800
commit5d26a105b5a73e5635eae0629b42fa0a90e07b7b (patch)
treee1be190c7b5dfc70c57b41f8ecb896dfda7d1e16 /crypto/deflate.c
parentcrypto: user - Allow get request with empty driver name (diff)
downloadwireguard-linux-5d26a105b5a73e5635eae0629b42fa0a90e07b7b.tar.xz
wireguard-linux-5d26a105b5a73e5635eae0629b42fa0a90e07b7b.zip
crypto: prefix module autoloading with "crypto-"
This prefixes all crypto module loading with "crypto-" so we never run the risk of exposing module auto-loading to userspace via a crypto API, as demonstrated by Mathias Krause: https://lkml.org/lkml/2013/3/4/70 Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'crypto/deflate.c')
-rw-r--r--crypto/deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/deflate.c b/crypto/deflate.c
index b57d70eb156b..95d8d37c5021 100644
--- a/crypto/deflate.c
+++ b/crypto/deflate.c
@@ -222,4 +222,4 @@ module_exit(deflate_mod_fini);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Deflate Compression Algorithm for IPCOMP");
MODULE_AUTHOR("James Morris <[email protected]>");
-
+MODULE_ALIAS_CRYPTO("deflate");
OSZAR »