Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3355361ybl; Sun, 11 Aug 2019 21:59:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPQPzIr/Rptt9ilPc4xoFpXrx1OAcsZcxkMbVXusnoqB9WlZQiy3shxXVIRXX2IS9QKr8J X-Received: by 2002:a65:5043:: with SMTP id k3mr29521237pgo.406.1565585980087; Sun, 11 Aug 2019 21:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565585980; cv=none; d=google.com; s=arc-20160816; b=X418MJ3Shlp1XOEvkB6fOWvQAiPaFJYuZZWyEulpQTgoigCEAJ1PFdlHgczQgrMxtI KZnuURZtiKvmbFC1Nm9zu4j8z2vGwKl6lZf6M1i4GaecpvbJDxZ4qPlS0fteca8gL2Pr ogsygr6DQPECJwVSGtdacpR26NESX8gI0ZEJkO8oR3vmFVs08JPVO9tz8DF6FAKZ1Qb6 LNUpiHzsZXBPcQ/uraQi6pR3X+oo1x3/s/RNHh/cUlbd4yUX6adgr3XehEh6Lv3iyYF0 bXhwYK5Pcqenjli0+wov8V3FlSTHJLMX6knM19BagsS7GtFuivKCypdz4ejzrz7iCEJk rYNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date:dkim-signature; bh=MRx7NWYh5fX7VIEePYwWGNKmtieU+uBYo1CJ06aVI2Q=; b=YsaMUN7fDWszklFfk1c1oOUt41s6kOW11MdnbHwvcUqi1pJZftNF+Hhxusf2qm9Qz0 wbeUoULtvNZgsnlfSfejvwfXJqkfx7eS/uDgUodfWH3M9WMYcRTq6NSUP3A/lEfA6FCQ 2vYOzHemk1voNhenlcrJHI/b6rJsmw+xQJ421SEs+2q0nd7+EysEXQ0ODyXsllKcIzG/ 7iQFGheRkM4zyDdS3j0qWqohHxVf5WW55UyIZFoB6Ios2dPD5rXEWtIfAi18GUFqq0br pJbk2LYIcj5qs9XtXtULAlobVWad2x4oQzn+g8gK2E6+qyI8Eqw6IxAWBHc620zCyJJA OvrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LbWJbdBD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f185si588885pfg.47.2019.08.11.21.59.24; Sun, 11 Aug 2019 21:59:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LbWJbdBD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbfHLE61 (ORCPT + 99 others); Mon, 12 Aug 2019 00:58:27 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:56737 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbfHLE61 (ORCPT ); Mon, 12 Aug 2019 00:58:27 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 466NsD2bwGz9s7T; Mon, 12 Aug 2019 14:58:24 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1565585904; bh=+XUql2QwatmOkcfblCGCbEXZU/3qsSW3+eNwYoAniSI=; h=Date:From:To:Cc:Subject:From; b=LbWJbdBDQ2eR3uXBKO8VGz0jd4039nyNGtt5f9z/n7T+bljBhg1f9YmQ6/tGUkwUG rE547yfCUBlAiLagDpDxMXOLPwgCQthrJy6Tt2mX4sW8uBKaCvji587VnVUktCfrQh 2h9EvxAwZiMog2rglt+/KOkGMFbkHIvjRMQHcDLPHgh2zQGTpXtDl8pnkNt25mELTK r4wMBxLWoKonPuUrYqacz8mBKcfy6xRf/UMZRvByn2bkrk+zOxvhVjOAEIi4uJVkYO p/fTg12IZQGAeSh+9QNn6XV1rRrlITHDJRGw7c07G1uXswjG1ufgSJjn54vMzKNt7e 34a4fpN5gzE4Q== Date: Mon, 12 Aug 2019 14:58:23 +1000 From: Stephen Rothwell To: James Morris Cc: Linux Next Mailing List , Linux Kernel Mailing List , Matthew Garrett , Kees Cook , Casey Schaufler Subject: linux-next: build failure after merge of the security tree Message-ID: <20190812145823.63d77573@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/RfU=Qk4LgOsU_kXaWADIOuT"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/RfU=Qk4LgOsU_kXaWADIOuT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the security tree, today's linux-next build (arm multi_v7_defconfig) failed like below. Caused by commit 45d29f9e9b8b ("security: Support early LSMs") I have added the following fix for today: From: Stephen Rothwell Date: Mon, 12 Aug 2019 14:54:20 +1000 Subject: [PATCH] early_security_init() needs a stub got !CONFIG_SECURITY An arm multi_v7_defconfig fails like this: init/main.c: In function 'start_kernel': init/main.c:596:2: error: implicit declaration of function 'early_security_= init'; did you mean 'security_init'? [-Werror=3Dimplicit-function-declarati= on] early_security_init(); ^~~~~~~~~~~~~~~~~~~ security_init Fixes: 45d29f9e9b8b ("security: Support early LSMs") Signed-off-by: Stephen Rothwell --- include/linux/security.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/security.h b/include/linux/security.h index 807dc0d24982..23e1c3f17d48 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -473,6 +473,11 @@ static inline int security_init(void) return 0; } =20 +static inline int early_security_init(void) +{ + return 0; +} + static inline int security_binder_set_context_mgr(struct task_struct *mgr) { return 0; --=20 2.20.1 --=20 Cheers, Stephen Rothwell --Sig_/RfU=Qk4LgOsU_kXaWADIOuT Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl1Q8e8ACgkQAVBC80lX 0GzJ2Qf/VH0iQwwUX51/De5pNclfDGsUUFjGpIVppHxLw115/QW6A3n4aKsvEZem rIfj6nNJbbFk5NWa/LnmoU9+iL/U3EAqS8dTRQ6gtsMKnzvFy4vxlhI7pDSvXOQ5 nXSMzJVPkzETaO4D5jfM6U8/ipJ/7OwJyeY8pz6Dpuvn3PEMRaXxorYnMu3vkTbX FyeENRKmUj2Uij+N++SqVAP2TOQt8iUMP+SsamiIiCKynHjhLvyxDsLzpE3N/A4X eQ8L+YfERAc7iLPKHZH8tVAut91+6AcgbTqQNij8n90ydnWdXdszHajfOMqxFgrG 9W3dDz0Sfv3CcmI2VfKQMopgXU7Gsg== =IHKh -----END PGP SIGNATURE----- --Sig_/RfU=Qk4LgOsU_kXaWADIOuT--