Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1618258imm; Thu, 12 Jul 2018 05:12:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfZyYNPN95Jq80GcAM4glslQNHpJxHi+nUEStp4tzIuscKQoCJe7gqMV9OY60ThwPlYEvWh X-Received: by 2002:a63:ff21:: with SMTP id k33-v6mr1869247pgi.38.1531397520307; Thu, 12 Jul 2018 05:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531397520; cv=none; d=google.com; s=arc-20160816; b=qGRZFiDammXDlU9iZy+S9XtfEH5u30PhYOnOcv8vwGpsIU5CieeHpbgI8wJ1EDakpY c8si2O10Dijt61C9Js8+acWdG89m7v8VNqpRBts19p4GUgcF9A8ci4etyhQp5Fn6zq/U U415xWotMO227Uw4YFjjQ+yLgzqoCpbYcy/PlM/hlr8bpXZ2/QtbKYhRrD3OJS/YOnHl BMtqcvXDTTfkHJwDeN9ukuplJtxw7SsHLxYzdVTURyBYLmQUi50FdXvea5K7XAoz/ojG 8yW/43MDiQue6bryPE1fkPnFQNA1RibQS4mtYEag80QTF11FxoNl+gCJTIl4h40xHRuf +r2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=dW8NbCWlCv5kVQ9MTRHfb3EJ4unIpSUudkMiM6hNONU=; b=Nrp6C3T5KjFts7RYu2AcTdKVa3aoD1fmOf9zHzYUIMOZbqQqCQ39ehS4khGVfppWiE 6IMPx3XfJH6RBU/UpG9JfUDB44QneGqeFfsv80m5s8fSeumKaTRHBfptRp8wKrjef6Li kZmjCicTDk2qmRIKN9ryNaY4VB5A/n6X86FcuvanjBWT+yTwKYKQj5EQKcpKJcArA1KU AxewPBY3CLsSEiQM2FpZoOpiEEqlXe/b7+EbbLYu4MOv2vfWSFbLquDgZ038vmnwhLtp cqa482DunWqza3Tx0Ew7C7wOQadmy/af/cmwf81Vsyqfg6fD4uZMhUBYryU4Ts8pYnX3 gazA== ARC-Authentication-Results: i=1; mx.google.com; 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 d2-v6si1623937pln.471.2018.07.12.05.11.43; Thu, 12 Jul 2018 05:12:00 -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; 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 S1727094AbeGLMTP (ORCPT + 99 others); Thu, 12 Jul 2018 08:19:15 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:50322 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726580AbeGLMTP (ORCPT ); Thu, 12 Jul 2018 08:19:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 75363ED1; Thu, 12 Jul 2018 05:09:58 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4762A3F5B1; Thu, 12 Jul 2018 05:09:58 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 9D3491AE53FB; Thu, 12 Jul 2018 13:10:40 +0100 (BST) Date: Thu, 12 Jul 2018 13:10:40 +0100 From: Will Deacon To: Kees Cook Cc: Laura Abbott , Mark Rutland , Ard Biesheuvel , Kernel Hardening , LKML , linux-arm-kernel , Alexander Popov Subject: Re: [PATCH] arm64: Clear the stack Message-ID: <20180712121040.GB16043@arm.com> References: <20180629190553.7282-1-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 11, 2018 at 05:05:32PM -0700, Kees Cook wrote: > On Fri, Jun 29, 2018 at 12:05 PM, Laura Abbott wrote: > > include/linux/stackleak.h | 1 + > > [...] > > diff --git a/include/linux/stackleak.h b/include/linux/stackleak.h > > index e2da99b3a191..00d62b302efb 100644 > > --- a/include/linux/stackleak.h > > +++ b/include/linux/stackleak.h > > @@ -5,6 +5,7 @@ > > #include > > #include > > > > +#include > > /* > > * Check that the poison value points to the unused hole in the > > * virtual memory map for your platform. > > FYI, I squashed this change into my copy of the stackleak v14 series. > (And I just sent this arm64 patch with the adjustments for it to be > stand-alone.) I can't find that -- can you point me to it, please? Will