Received: by 10.223.185.116 with SMTP id b49csp3904820wrg; Tue, 6 Mar 2018 06:56:45 -0800 (PST) X-Google-Smtp-Source: AG47ELuCiZwCNQiR4XAWO35EFVSX/2O1KbUv7ul8tKmN/5t/KFMpJX/vyBdW4bSc6L7Kbzfd3Qix X-Received: by 2002:a17:902:8697:: with SMTP id g23-v6mr15304869plo.393.1520348204873; Tue, 06 Mar 2018 06:56:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520348204; cv=none; d=google.com; s=arc-20160816; b=jWbVi2hmm0qShNccua2nE4eV8FSp7dmAJBq90j52Od4hK1oUaLuqtFqlnI7BBtt86R gWkuCV+Knm+FJBhY0DFNtIFrq65R3k21PAZerCzIOAGTs5FaffsS5adHaD7b20bwnTgt 34ZtJwtZc/3iJG5pYAoBOJGm10g0YQG7WKmC91YDMwg+57FuOjY2PzJ4xt2RzgPqEgFd jP6vVyGdYhTS7FGMzoymTw/WWxmpzaEJeReMYOIIVOo9U0Q1B57meHG8GPshl+gOQjVS Qckb+87dyFaKRZh7r5gKWMX0U+F7D9AptvaeZYdT5aIC9nzlgfwNN3r300dUOqifFLzJ Y/sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Ow3nNislkwBRpaDLp6o+YLB+4s3o1jDyzBg/MwYrvqs=; b=bn68euioR0eooCzkBc+F2sLaxTlNY3sMRcqWGCxANBT5cdEEEyLYS8nqHlt1sl6glD aeMKd3O5G+IjRHjAWlpXjrFhte/t3PX56dzjRifI/djMy2sLkLt9eb70S5UVGWc6ofsj DlroaW0yyMFSD9L1fgsPnmiJDoVcsgkeu4phBrTLcktimHv0byl5C8rLPeaYnRLk3WHA yO8zLrLsJjyZit56bpf8LQJgaU5vGMttjTpK2mFKigSE9tvUWhPfzr5ZGOEDQzAA7Y5b GeOIg2yWocwwC1il2ousUHQkvQB70gMkkNSmBeCqEhgK4/IMZUFbbA0+7E/SdBYS9HHW jd6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BB42/afK; 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 h10si8057935pgf.326.2018.03.06.06.56.29; Tue, 06 Mar 2018 06:56:44 -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=fail header.i=@gmail.com header.s=20161025 header.b=BB42/afK; 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 S932773AbeCFOzD (ORCPT + 99 others); Tue, 6 Mar 2018 09:55:03 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:33059 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753525AbeCFOzC (ORCPT ); Tue, 6 Mar 2018 09:55:02 -0500 Received: by mail-qt0-f193.google.com with SMTP id a23so24845721qtn.0; Tue, 06 Mar 2018 06:55:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Ow3nNislkwBRpaDLp6o+YLB+4s3o1jDyzBg/MwYrvqs=; b=BB42/afKkVLcyKzPrK9oQAqIrekrE42sQSCjWpI2nMlqhee73p3LoY4jRm95PApBrV nTZIn1eAJk+YqI4XiQwHqA4Prs1gymtUrQiOJgbBoB1yP7vgVTOlAxZZne/FPnXhdQQN lIPeV3WWAppyiaPKiHb/MSS2KdB+kzPKCmZWUluJWU3McWOQet+y0wxtfATMXLZb5Msd PhezoFfZPly+P/GVVrW6g2D8t+DCeoDO2xCeuWWM9jeRgviksCxtMVEFUPnYK//toUeD D4+znazVyp0AshCdFzb5k369GFW+bd0+VNP4uikSmWYeBwSxVfKBk6FBq5ngAjmQ2Nb9 s3zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Ow3nNislkwBRpaDLp6o+YLB+4s3o1jDyzBg/MwYrvqs=; b=DWgsxAxt5FyzH4+utVcpjINUDAhL7hKEgsKAfLs7LCB3X7n9Aok3ZHi9aRDhcshGq6 Uj51oU++8yyVIY8yTVvEbOsOZZ5CAaynVKc6iXbslkmyXQjibY5sJuwSg7y36eSPwFnK uJ9KzrhkkiO/fEziOKvxrAlOQ8I9Ujh+6ZdfWOKhLhIL06al5Es4Jeq2O1UGfdZDagIS v7wfq42Qpoz4IINoBeYWkSheI9NqIWFHghl6EZiUKwx9ZdYqNcuwZCabIbHNswbXICWQ akvaZoH3mRUJCKvUWF860FuKEUiC/pEC5nsGUMePivfUWxgxK5NK4H2oneE4snjBS67r 540Q== X-Gm-Message-State: AElRT7FdLtp3HB5Fxgkw5lLj9SqVACPPCzaJ3puSI5Y5bpmSOiQ2U253 Av1oCJD3Qnz3jQ4I6hqcYVALXchDYNMSeHLqkeY= X-Received: by 10.200.19.202 with SMTP id i10mr28715053qtj.132.1520348101398; Tue, 06 Mar 2018 06:55:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.185.46 with HTTP; Tue, 6 Mar 2018 06:55:00 -0800 (PST) In-Reply-To: <93bd3861-6b3c-95f0-466e-e5022e0ab3d2@virtuozzo.com> References: <20180223170325.997716448@linuxfoundation.org> <20180223170351.424191376@linuxfoundation.org> <1520346571.23626.5.camel@codethink.co.uk> <93bd3861-6b3c-95f0-466e-e5022e0ab3d2@virtuozzo.com> From: Arnd Bergmann Date: Tue, 6 Mar 2018 15:55:00 +0100 X-Google-Sender-Auth: st2i_7cjeWuotRInf3EmJXTzQgA Message-ID: Subject: Re: [PATCH 4.4 163/193] kasan: rework Kconfig settings To: Andrey Ryabinin Cc: Ben Hutchings , Greg Kroah-Hartman , Mauro Carvalho Chehab , Alexander Potapenko , Dmitry Vyukov , Andrey Konovalov , Andrew Morton , Linus Torvalds , Linux Kernel Mailing List , stable Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 6, 2018 at 3:33 PM, Andrey Ryabinin wrote: > > > 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. Right. I sent the correct fix for v4.9, but it must have gotten mangled during my backport to v4.4. There difference is harmless, as the extraneous line has no effect on v4.4, but if one of you thinks I should send a patch to remove that line for consistency, I'll gladly do that. Arnd