Re: [PATCH] crypto: prefix module autoloading with "crypto-"
From: Kees Cook
Date: Mon Nov 17 2014 - 14:43:36 EST
On Mon, Nov 17, 2014 at 10:38 AM, Mathias Krause <minipli@xxxxxxxxxxxxxx> wrote:
> On 17 November 2014 16:09, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>> On Fri, Nov 14, 2014 at 01:34:59PM -0800, Kees Cook wrote:
>>> 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:
>>> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>> Sorry but this doesn't build for me:
>> CC [M] drivers/crypto/qat/qat_common/adf_ctl_drv.o
>> drivers/crypto/qat/qat_common/adf_ctl_drv.c:490:21: error: expected declaration specifiers or â...â before string constant
>> make: *** [drivers/crypto/qat/qat_common/adf_ctl_drv.o] Error 1
>> make: *** [drivers/crypto/qat/qat_common] Error 2
>> make: *** [drivers/crypto/qat] Error 2
>> make: *** Waiting for unfinished jobs....
> Looks like drivers/crypto/qat/qat_common/adf_ctl_drv.c is missing
> '#include <linux/crypto.h>'.
Ah, looks like I missed a few in my config. I'll attempt allmodconfig
and send a v2.
Chrome OS Security
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/