From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755452AbbJUXrS (ORCPT ); Wed, 21 Oct 2015 19:47:18 -0400 Received: from tundra.namei.org ([65.99.196.166]:47620 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752197AbbJUXrQ (ORCPT ); Wed, 21 Oct 2015 19:47:16 -0400 Date: Thu, 22 Oct 2015 10:47:04 +1100 (AEDT) From: James Morris To: Arnd Bergmann cc: John Johansen , linux-security-module@vger.kernel.org, James Morris , "Serge E. Hallyn" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] apparmor: clarify CRYPTO dependency In-Reply-To: <5026142.BskI2YQ2fk@wuerfel> Message-ID: References: <5026142.BskI2YQ2fk@wuerfel> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Oct 2015, Arnd Bergmann wrote: > The crypto framework can be built as a loadable module, but the > apparmor hash code can only be built-in, which then causes a > link error: > > security/built-in.o: In function `aa_calc_profile_hash': > integrity_audit.c:(.text+0x21610): undefined reference to `crypto_shash_update' > security/built-in.o: In function `init_profile_hash': > integrity_audit.c:(.init.text+0xb4c): undefined reference to `crypto_alloc_shash' > > This changes Apparmor to use 'select CRYPTO' like a lot of other > subsystems do. > > Signed-off-by: Arnd Bergmann Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next -- James Morris