Re: [PATCH v3] crypto: prefix module autoloading with crypto-

2014-11-21 Thread Herbert Xu
On Fri, Nov 21, 2014 at 09:31:15AM +0100, Mathias Krause wrote: The last modlog call does not contain the crypto- prefix, therefore happily loads the vfat module. I guess crypto templates are handled special? Yes templates are loaded in crypto_lookup_template so a small change there (assuming

[PATCH v3] crypto: prefix module autoloading with crypto-

2014-11-20 Thread Kees Cook
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 keesc...@chromium.org --- v3: - added unprefixed alias back