Received: by 10.223.185.116 with SMTP id b49csp3882289wrg; Tue, 6 Mar 2018 06:35:35 -0800 (PST) X-Google-Smtp-Source: AG47ELuMaCLGAJMJ+ZF4x1w/btWqEs8n1M10wpx12JaFu6CB85PzKrReKdr4FIV0OkaeiIJ/h0T5 X-Received: by 10.98.216.137 with SMTP id e131mr19337137pfg.17.1520346935808; Tue, 06 Mar 2018 06:35:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520346935; cv=none; d=google.com; s=arc-20160816; b=xdyCyM2HO+Szb3SXjpMlu0Oc07m2XnpBJLhJNKSMwLsq9yH/bFPK1ZqsGbYW7BkR5A ZRcwtoAw9CD9XYYIIx+ghjona3gus1M4zaho6ki9NYzdb83XSljqae0abmwYzM8iJB3p bR9TZ3jReD0tcv2XjK9jM0YdUyn2x58c5rvO370HE+Nm00ObJTekaIwC2g4GkcNvtBA7 61+zyGmfjwRqHZQz2XPFHlV3NZS0Wr3WaQl4XiDqodWf3QtZBnMxIWyuVqYpGzkQSNqJ PduHakccd3vnOXVmXzVndA8JhjX1eJAG/tZP9cd3mVZqXRrKx+ePqdCRWL+ZfGJ2hfrs CJZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=HRkbHvfXX/1STQRUtJ/kFLi/WzTXjZsnaWe7/Wq0SwM=; b=u7M2gjoXLJPCHfXxRpA+ByXi64MZ4fmBCJSqTdlvT4WSa3kNgaW39L+w4ywM0lzIbB jc7BvRcvJC7lWLOyCcrKdxklXp/LkhkK4RSz+xlUOLdIIwGTDFvODCNK5dFtppfG2ePF G2Ol9YHP6g76JFes89slwWmP/B04b7eKSVegUnjmKpmolXPBYM6pmvFunU9jWP04guM+ 4cTBo6C0M1DqpH0M4chzYhZ1r8CXrnZUlZkHUdr7Fjc6Qyvw7g3CQN7lBXHtZefBg4mW 0Hs9Iu92i9Ir7ISmLhFL4DBLGc6mRvHQ3oCi+tR1WpuhviqITvZxPxpJfWh30VOfOej5 3LvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=MZws9efC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i124si9858886pgc.589.2018.03.06.06.35.21; Tue, 06 Mar 2018 06:35:35 -0800 (PST) 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=@virtuozzo.com header.s=selector1 header.b=MZws9efC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753705AbeCFOcb (ORCPT + 99 others); Tue, 6 Mar 2018 09:32:31 -0500 Received: from mail-db5eur01on0130.outbound.protection.outlook.com ([104.47.2.130]:65060 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753344AbeCFOc2 (ORCPT ); Tue, 6 Mar 2018 09:32:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HRkbHvfXX/1STQRUtJ/kFLi/WzTXjZsnaWe7/Wq0SwM=; b=MZws9efCAnkaGSxYo8aMfTlmWIOPCXNB1GomKyfRRiK3C0CF7ws6QSiyLg7PRHbhcfkpDqAoMvM5NVthfPYFyfZGmL1GNHv8hJi+pAO16qOAO3Ypc1xrzzQD4pAbVHTlZATT466DrtDTfUvK2V4Cp0Ld6yydmuRMJUkyJGk94xQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aryabinin@virtuozzo.com; Received: from [172.16.25.12] (195.214.232.6) by AM6PR08MB3254.eurprd08.prod.outlook.com (2603:10a6:209:47::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Tue, 6 Mar 2018 14:32:23 +0000 Subject: Re: [PATCH 4.4 163/193] kasan: rework Kconfig settings To: Ben Hutchings , Greg Kroah-Hartman , Arnd Bergmann Cc: Mauro Carvalho Chehab , Alexander Potapenko , Dmitry Vyukov , Andrey Konovalov , Andrew Morton , Linus Torvalds , linux-kernel@vger.kernel.org, stable References: <20180223170325.997716448@linuxfoundation.org> <20180223170351.424191376@linuxfoundation.org> <1520346571.23626.5.camel@codethink.co.uk> From: Andrey Ryabinin Message-ID: <93bd3861-6b3c-95f0-466e-e5022e0ab3d2@virtuozzo.com> Date: Tue, 6 Mar 2018 17:33:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1520346571.23626.5.camel@codethink.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6PR0301CA0044.eurprd03.prod.outlook.com (2603:10a6:4:54::12) To AM6PR08MB3254.eurprd08.prod.outlook.com (2603:10a6:209:47::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4263c750-c2e1-4bf6-b821-08d5836f1440 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603328)(7153060)(7193020);SRVR:AM6PR08MB3254; X-Microsoft-Exchange-Diagnostics: 1;AM6PR08MB3254;3:XQYlJ/GrvWbmPZg8MWbRRzUlzO4Unz4T4pO8VV2J6HBcTgOEF9v3VcyEJOwImUdiN+Is9OGd0RZ6XUbS8MIYAnGuVpT+TGr+GnNuHWwOoYFx05eqTDocLV86iaSVCLtKXyYAs+s8jT+0h+d/eFRZWQ1zd+8+pE19q16bKuhfhSrc1vLiEYkslyGnSfl5/lGjiEaFmQcmEkNpfj4snCHphFfkEMLEUHtMrlQ5XhEHLD7c8KTQCXsko8sEvAe2jRPz;25:9QbqI/G9ICsewO2K7GnLAQuYKO+y9sc+IwOA04Ohuq+VA6K2lBPMqp7+RhW4eOXPy775/hs4LO52ho6vAnXR0D1Io9/LMBHoy0fFS11UFIgNLGsT/lIOa9eYmOGyvG+c1YuU/KDDKKUNJK0CEt5zqlLj8yVyL6NR2G2GsZkkajyOhyot67ncsgPPhVKUe4bgFHMqeGpHOFo9nt67m5v4vIlH4Fp5tIvWhRgs8GVSOb6ICe9VGgzDnvkMZS5EMnX58NP0XkzoC+uH39ATz6zUlEkNu4JvFcsB0Nsekd2JXI07Az5haXPeJe0MqyIhnDn1fzRozQ5wDKxRsJM98sE5RA==;31:wc6/OTS4D+JFWfBseogcvsHAgt40UCnjsTvCxRvPESWvESqGB3EI4yS08OQXYrTM0KZ8h3sCaULkiswkMloDLKsHIIUnrcLKItdJ0q6aeF5Knzwvd8l01qUKWonuQzoHY3XtyfoGf68KjKab1ohVav6a46Mj9pswj8sK2Q0UfbqNNwVZp68P/ZRhD7bNs8sz+xgYIGTyJ6jOtVNKdVC3iH80JIcpIVcRIT5XiHhM1cA= X-MS-TrafficTypeDiagnostic: AM6PR08MB3254: X-Microsoft-Exchange-Diagnostics: 1;AM6PR08MB3254;20:hY+2HnE3Qez5R/hc3+kX3hN6Bx6AeAsqhLCZo6tWKOxSZNeO63N9awvOMnb56vh9X1xnUCVqjhVhQustk8umAuRfhKJSHWowRfpa4ctcv4YhUXUqznP0ObN/5MIs/Iejjq+VQI5EvErOxKB1bzYqqAt29ljrtCfpdX4wlai++NOqB8+944UWvklas6VSPN9HquvMYQLjYnFKObUfex6qNS0r3ZPUvtDIakYf++kQ43H3UbJfKkaT7+CYZINWfR/NvQFrcDj67Qy6BRA8tW8a75P/sOCzcZFWLF4wVWVC0K1/QFUWa0jX7xo7/Qxnpdz2d5TF3GAt20kQn6f84xV23mID7FsCuITq9yU2gzKtMRtiizl+eA4kl34KxkloRoBYT3zgnADd9Oew6qsw8CrzG+2mYWYiXIEtsKPHdAS8Yw53nhirXCXrJ/vKl2tMScTGvBZI6FTlpzemZMEppU9YXu22tFya9d4oVcnAAUehu8bELLGlV1ef+kdXosimtqmT;4:srcWdCC6jBzZ/FGCu6thQvt6i2aTTX+Z09sQlT3mZR/uwrrorjgK/CjlRGiWnE8JJx43hD28mmLTRemNY03hVrPg1WpSaRZGr2re3PZAtU78R7gFqIL5q1JKiCgG8y6CIGYL+ErhQlrf4bpLZqUybwVLQdApvNGcO/KQKCQEZH7Jym6Pkvzk/bGxWY5Hp9RWYuJx0BrBfpU/F1eQF02T1+HEWpZ32xq+kfb25Xfmyf9CwFeHPXDiVtR9wVCbgocdlnXIEqvd806JxDQaC5Tu0A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(3231220)(944501244)(93006095)(93001095)(10201501046)(3002001)(6041288)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011);SRVR:AM6PR08MB3254;BCL:0;PCL:0;RULEID:;SRVR:AM6PR08MB3254; X-Forefront-PRVS: 06036BD506 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(346002)(366004)(396003)(39380400002)(376002)(39850400004)(189003)(199004)(377424004)(81156014)(47776003)(65806001)(386003)(478600001)(3846002)(6116002)(6486002)(77096007)(26005)(2950100002)(229853002)(6666003)(59450400001)(65956001)(6246003)(25786009)(4326008)(7416002)(2906002)(2870700001)(66066001)(8936002)(53936002)(36756003)(55236004)(53546011)(23676004)(50466002)(81166006)(2486003)(8676002)(65826007)(305945005)(110136005)(16576012)(16526019)(54906003)(52146003)(86362001)(7736002)(64126003)(106356001)(58126008)(186003)(97736004)(52116002)(31696002)(105586002)(68736007)(31686004)(5660300001)(316002)(76176011);DIR:OUT;SFP:1102;SCL:1;SRVR:AM6PR08MB3254;H:[172.16.25.12];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTZQUjA4TUIzMjU0OzIzOnZkcjJhbVh0MUhuNWZPbGFJMXgvTXdZWkRU?= =?utf-8?B?WWpKU1VpeEttUnYrSXpkTWpWM3J2d1VwNWg4eTFNL294R1lnZzBVcExERDFJ?= =?utf-8?B?d3ZMUklJcmRWQjhGNVpVYmliSUN6Y01IWDdOdDB3L2xGMXMyY2o1L2Nia3M3?= =?utf-8?B?Rmp5d2JHMDlNZU4xa2JOOGtIcUE1Z3JsbTBMTFlLYmluRHZubEJVaUY1UjZC?= =?utf-8?B?dTFmcTR4c2ZTWENjaWVPZHlmMTNWRzJ3aEFIeW5BSGhpRi9VQnVMUU44Ukp2?= =?utf-8?B?N1h4TktVMHVzMWk0Z1dYNytsdThUMy9xM3p3cWt0alFKelIyNndSNEVEczh2?= =?utf-8?B?UjVFcFk0bTdDMGNlNWRqaXY2alNjZUtJMElRMU5QK1Q0a1lkdTlLTllWV1lV?= =?utf-8?B?SUVRZ1Q4SnFzelhzU2xNWlV0VkRqRHpvT3orVGNrZDU5bDEzK3FUTkRTWitB?= =?utf-8?B?OFl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iwm9Cb5FuDTBapQH0X+8NwwfZ1iDi4= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2018 14:32:23.6562 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4263c750-c2e1-4bf6-b821-08d5836f1440 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3254 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06/2018 05:29 PM, Ben Hutchings wrote: > On Fri, 2018-02-23 at 19:26 +0100, Greg Kroah-Hartman wrote: >> 4.4-stable review patch.  If anyone has any objections, please let me know. >> >> ------------------ >> >> From: Arnd Bergmann >> >> commit e7c52b84fb18f08ce49b6067ae6285aca79084a8 upstream. > [...] >> --- a/lib/Kconfig.debug >> +++ b/lib/Kconfig.debug >> @@ -197,7 +197,7 @@ config ENABLE_MUST_CHECK >>  config FRAME_WARN >>   int "Warn for stack frames larger than (needs gcc 4.4)" >>   range 0 8192 >> - default 0 if KASAN >> + default 2048 if GCC_PLUGIN_LATENT_ENTROPY >>   default 1024 if !64BIT >>   default 2048 if 64BIT >>   help > > This doesn't make sense for 4.4. There is no GCC_PLUGIN_LATENT_ENTROPY > in 4.4, and this line wasn't added by the upstream commit. > > I think all that was really needed in the backport was to delete the > 'default 0', right? > Yep, 'default 0 if KASAN' to be precise. > Ben. >