From: Kees Cook Subject: Re: [PATCH] crypto: prefix module autoloading with "crypto-" Date: Mon, 17 Nov 2014 11:43:30 -0800 Message-ID: References: <20141114213459.GA3832@www.outflux.net> <20141117150926.GA1968@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Herbert Xu , "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" To: Mathias Krause Return-path: Received: from mail-ob0-f178.google.com ([209.85.214.178]:37242 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520AbaKQTna convert rfc822-to-8bit (ORCPT ); Mon, 17 Nov 2014 14:43:30 -0500 Received: by mail-ob0-f178.google.com with SMTP id gq1so2841827obb.37 for ; Mon, 17 Nov 2014 11:43:30 -0800 (PST) In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org List-ID: On Mon, Nov 17, 2014 at 10:38 AM, Mathias Krause wrote: > On 17 November 2014 16:09, Herbert Xu w= rote: >> 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: >>> >>> https://lkml.org/lkml/2013/3/4/70 >>> >>> Signed-off-by: Kees Cook >> >> 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 =E2=80=98...=E2=80=99 before string constant >> make[3]: *** [drivers/crypto/qat/qat_common/adf_ctl_drv.o] Error 1 >> make[2]: *** [drivers/crypto/qat/qat_common] Error 2 >> make[1]: *** [drivers/crypto/qat] Error 2 >> make[1]: *** Waiting for unfinished jobs.... > > Looks like drivers/crypto/qat/qat_common/adf_ctl_drv.c is missing > '#include '. Ah, looks like I missed a few in my config. I'll attempt allmodconfig and send a v2. Thanks! -Kees --=20 Kees Cook Chrome OS Security