Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1381678imd; Sat, 27 Oct 2018 08:01:13 -0700 (PDT) X-Google-Smtp-Source: AJdET5dXB1h02vCAn6E6mcEsUoe5eY6y3tCI9cvEp8nM37W49HZxoVAvOnPyYt+3YEK8xqmXdnBZ X-Received: by 2002:a62:1e83:: with SMTP id e125-v6mr7943569pfe.231.1540652472938; Sat, 27 Oct 2018 08:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540652472; cv=none; d=google.com; s=arc-20160816; b=e7jM7XZtds3LrYuSeO6y4sPNvtDbFH3iUPbUNpKFruyQ6EUk4U93qMsInhQ0w50BOV wdR+oOH+ncImkv4HFuKH7EGsagADxJpqBHZVMUJgCohavn0Hh0aD1FQEEmXv5w5Z7Iei KTxb6fqagOu+r18GOJI6A1/E70pehO2E5PTDHEC9Z0h9z6AHh+aAdHSg7Ifl25fBe/DC jE9Y8OppmS+hejVZSxngTMUkP661h+ajHvn4LsFUvcmyhOUAoxvBXlu3joZShYhEHqP5 A2PkPtwk3S3Juw4VRdwETPocjIXCNcAQVEV6f02KOllGSWruWMraWSJUdHPAj/q4xOtc A53Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=3j9wKuFP5/QyJpxNcwpkrjjqoLuxgN/Xquk3+EZ5PbA=; b=0xhfHsLhQ4If/78Qs0+5PRkia9IKJFpSA0bk9mjxOtmgXo3/RV3H0cvZVpPyTy93TG Zz06cp3Lqz5//rYPouIXpb34SZbSEPa7fcNEX8Man1tl6GXR3Hzo4bYem4M5H1H58TT3 dK4hHZI2x1jDWWSxg6v9AIfDFzKyN9kkR/PddjsHtfgUe+EmlMx+FmBga96shlwZF1+7 GkGWkT2aXKril+iyDeo7+RFEp2DthEgxJa6EZz7aP9ekd4dktyxDfHpKVOqqSko04YjZ e7cxRTFadL7hG+jx0Rxn+tlt4e24W8pmrTBGfKQDE3GBS9N6WRiweSNh0qeV/XiV4zy5 HPUA== 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 a10-v6si2693424pfi.222.2018.10.27.08.00.57; Sat, 27 Oct 2018 08:01:12 -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 S1728766AbeJ0Xjb (ORCPT + 99 others); Sat, 27 Oct 2018 19:39:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:43312 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728252AbeJ0Xjb (ORCPT ); Sat, 27 Oct 2018 19:39:31 -0400 Received: from vmware.local.home (unknown [95.87.249.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5CBF12085B; Sat, 27 Oct 2018 14:58:13 +0000 (UTC) Date: Sat, 27 Oct 2018 10:58:08 -0400 From: Steven Rostedt To: Andy Lutomirski Cc: LKML , Thomas Gleixner , Peter Zijlstra , Ingo Molnar , "H. Peter Anvin" , Masami Hiramatsu , Josh Poimboeuf , Linus Torvalds Subject: Re: [RFC][PATCH] x86: ptrace: Add function argument access API Message-ID: <20181027105808.60bfba7d@vmware.local.home> In-Reply-To: References: <20181011230021.0a7604fa@vmware.local.home> <20181012122641.3d87ed29@gandalf.local.home> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Oct 2018 11:21:28 -0700 Andy Lutomirski wrote: > On Fri, Oct 12, 2018 at 9:26 AM Steven Rostedt wrote: > > > > > > Anyone have any issues with this patch? > > > > I'm conceptually okay with it. That being said, > regs_within_kernel_stack(), which you're indirectly using, is > off-by-a-few. And updating it to use probe_kernel_read() might be > nice for robustness. > A patch to protect regs_within_kernel_stack() with probe_kernel_read() has already been accepted. Can someone give an Acked-by on this patch? As it does touch x86. Thanks! -- Steve