From patchwork Thu Jun 14 10:36:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10463775 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4DE986020F for ; Thu, 14 Jun 2018 10:37:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E7682898D for ; Thu, 14 Jun 2018 10:37:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 324E628A63; Thu, 14 Jun 2018 10:37:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D71B32898D for ; Thu, 14 Jun 2018 10:37:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754860AbeFNKhc (ORCPT ); Thu, 14 Jun 2018 06:37:32 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:43052 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754870AbeFNKha (ORCPT ); Thu, 14 Jun 2018 06:37:30 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w5EAaqEg008870; Thu, 14 Jun 2018 19:36:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w5EAaqEg008870 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1528972614; bh=goAfbsPn8A6cA25Q2KrraItR1mxigSL66ldGLXQ9+HI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NtCaVCaocq7rOiSf2J9Xm6NgfVGTQocCMXp608QGGe4WvjWetLMpOYNPzCTwNdPQi 3gz2EbcbdroYST8tbRHemg10V8MPkgqBO2IToddbAf9GWltCKrpeCI+KREy8ANLSwD 9T8JyAOAN4MAXwyID/QRiVDKtpLX/qXD7mxhsTwQnx9tAjXeBFau5tzjHK5vDJvLsa /mtwav34TFptcH3+FMaWQbFjFDbrHYTgW4T5GFI+cFwzYzyPflvQZL1o9SoIc96biQ L/iqMQmQm51JgdNbIQUKqMVS70WeUT3GcSriPHomkkTtpUHZ+3MS5MPPfl9nd65DFG ETt6pmf9VVe6A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Linus Torvalds Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Kees Cook , Masahiro Yamada Subject: [PATCH 2/3] kconfig: tinyconfig: remove stale stack protector fixups Date: Thu, 14 Jun 2018 19:36:44 +0900 Message-Id: <1528972605-24264-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528972605-24264-1-git-send-email-yamada.masahiro@socionext.com> References: <1528972605-24264-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Prior to commit 2a61f4747eea ("stack-protector: test compiler capability in Kconfig and drop AUTO mode"), the stack protector was configured by the choice of NONE, REGULAR, STRONG, AUTO. tiny.config needed to explicitly set NONE because the default value of choice, AUTO, did not produce the tiniest kernel. Now that there are only two boolean symbols, STACKPROTECTOR and STACKPROTECTOR_STRONG, they are naturally disabled by "make allnoconfig", which "make tinyconfig" is based on. Remove unnecessary lines from the tiny.config fragment file. Signed-off-by: Masahiro Yamada --- kernel/configs/tiny.config | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/configs/tiny.config b/kernel/configs/tiny.config index 9bfdffc..7fa0c4a 100644 --- a/kernel/configs/tiny.config +++ b/kernel/configs/tiny.config @@ -10,7 +10,3 @@ CONFIG_OPTIMIZE_INLINING=y # CONFIG_SLAB is not set # CONFIG_SLUB is not set CONFIG_SLOB=y -CONFIG_CC_STACKPROTECTOR_NONE=y -# CONFIG_CC_STACKPROTECTOR_REGULAR is not set -# CONFIG_CC_STACKPROTECTOR_STRONG is not set -# CONFIG_CC_STACKPROTECTOR_AUTO is not set