Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1080477imm; Fri, 12 Oct 2018 11:23:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV63VlyF/cKs8NhAl4SdS3sYMr1mRzXVY4vh1FtF/hNYM0a9A/IHz6JqKmk+XGtkQQ8gSZ84Q X-Received: by 2002:a63:4d09:: with SMTP id a9-v6mr6532223pgb.408.1539368618281; Fri, 12 Oct 2018 11:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539368618; cv=none; d=google.com; s=arc-20160816; b=BaSwO49LLifx4Uq22hi/unp0dmEuMx3Sd3BroQyh3aiSkD8SvXXef2++cS9ghDJizq R4NPydVOzHOpXgSYAQYyqptJyAUOYhlp2p1+nNOrl+fpjxSfwWUVBaKgxrEzf4XgHNmh qHGMzoYkviB6Igm+cCq5K0j+tSfYHKO/Tp3lUnXrqVtGcO4IOeYQcXDy+FFQ9mHYNRy/ XRmfrAsTbPh/S4fAVpd5RiHzTNslVb10lmAgWHny5wIgMLSE8rnxh87GM2BxojlCNNLI Yu3+MnlBNAwMf1Y0Tc77plsL7Hyv1A3zfhbFq7NzJ/RH+09RjU4pcYlferg5j/K5kvXA NAxg== 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=mTH9Xu0ePHh+UFt+lORdhL80irVJxnRDa9LeQyNfZMU=; b=o7LLtzP4Fsz3p7WfkzrC/0rsgc72NT0vwSUfaXBOeSGo36zRlLtT51u2FZS6GzDppe q+BUJPYOaOErouecMCfI7PaMc5DwPBeW4+BF3RcrLAHho9fk/W4tS0dSBFfI5QAZboDU DS1Ad8xmPbH+ULgBxtQPEjomIkZM7NlGDD0QDRF2oiZCclryD4rTkFVmEaoS9vFpLQgk zdj+F4e28MQnZeXyl8DQBokFYtiVe0VWN1VHbai5vA7jd1u7maCK2nGIq8g0NIQ4j5bZ /RWPWGJv9ncuyAjITAi14OwGlD9si/IUAsEpBnfiQY23LIRzO+Cqbn2+V9AGEPvuAMh5 Q1yQ== 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 z33-v6si1993673plb.169.2018.10.12.11.23.23; Fri, 12 Oct 2018 11:23:38 -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 S1726779AbeJMB4c (ORCPT + 99 others); Fri, 12 Oct 2018 21:56:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:55248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbeJMB4c (ORCPT ); Fri, 12 Oct 2018 21:56:32 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 41A472064E; Fri, 12 Oct 2018 18:22:45 +0000 (UTC) Date: Fri, 12 Oct 2018 14:22:43 -0400 From: Steven Rostedt To: Andy Lutomirski Cc: LKML , Thomas Gleixner , Peter Zijlstra , Ingo Molnar , "H. Peter Anvin" , Masami Hiramatsu , Josh Poimboeuf Subject: Re: [RFC][PATCH] x86: ptrace: Add function argument access API Message-ID: <20181012142243.7723ea7d@gandalf.local.home> In-Reply-To: References: <20181011230021.0a7604fa@vmware.local.home> <20181012122641.3d87ed29@gandalf.local.home> X-Mailer: Claws Mail 3.16.0 (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. > 100% agree. I'll add a patch on top of it to make the changes, and keep what Masami had originally for full history. Thanks for taking the time to take a look at it. -- Steve