Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp668812imu; Tue, 11 Dec 2018 05:48:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/UC9vvGfB2I6ZEaEKR4+s+7K7/v9Xwnju8/GeneyXucawVGnmEyHNwGUbSDH7vIipHj06XJ X-Received: by 2002:a17:902:33c2:: with SMTP id b60mr16042215plc.211.1544536088804; Tue, 11 Dec 2018 05:48:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544536088; cv=none; d=google.com; s=arc-20160816; b=f1/LhAiODMhyfnQ2C+D0JbqjKWWUYkOECgu8I2xiO5po0vPpmk9oF6qnJXeCl5aENs KQUefY8JQWqqsl1tDJ8GT8LMP67VsEEf0LrQbX2Pwls3TX3xhKJQ8SnZ2UNXNzI8+36p H+P4g+674uF09Cc+7dEfTMJbdmBIm9O0BgnYJQrA9Ktta+s28I7wwdIkyklIdowBByHu xDsxUOXMfBrZpLDJNF6qw4wbu8AlWtxlAnbMBfnkwqzZTGVpfXMG1QUarMQ7+n3MxV1x V5mj4WeoH6RgnMcNl4mMaVU+ncKk+XL5a/pGBxCCqDVLrrnQ1OsLFjYaA5Rn2HAVL/Lj FEXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=PDec+5+3Y1kAhjs52PGsi3xumfvDUP9G8Dv2Ahhz7w0=; b=yV7AOwxIhW+ZrNVNcBBf4BGV+1RlkiftZaQpcOzPdHgrmXpBGOK22pWYNqw7hH49Ni 1Fwq4RJi1PnV7Cm7eM+WzjcjlM6oWo3+DykTT7Ma7gKa6dZJxkE/6igVZNQT0yUirb9m QRwc6CL0kzcC6pYtGfaZ5nu7iCp0ILOKM+2R5kdFKS+AJiJN6YDT8lXCB8uW70FzmBnT Xtz6VY8/KBJvmBo8J8rH0PsnzmMbuoi/v0O1CxT+UD2In6AKsr7f00zbe3GOaLNrq33B PRu9VBytM34vWkzvRKfsNbm+ouiOqxcNoaeqTgEMU6+EurmOv1g76sDWUIDqMJD0h27E ziQA== 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 w32si9117126pga.337.2018.12.11.05.47.54; Tue, 11 Dec 2018 05:48:08 -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; 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 S1726590AbeLKNpz (ORCPT + 99 others); Tue, 11 Dec 2018 08:45:55 -0500 Received: from ozlabs.org ([203.11.71.1]:39307 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726203AbeLKNpy (ORCPT ); Tue, 11 Dec 2018 08:45:54 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 43Dh6S55N5z9s3q; Wed, 12 Dec 2018 00:45:52 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: a225f1567405558fb5410e9b2b90805819df1c67 X-Patchwork-Hint: ignore In-Reply-To: <20181207155605.GB28964@altlinux.org> To: "Dmitry V. Levin" From: Michael Ellerman Cc: Oleg Nesterov , Eugene Syromyatnikov , Elvira Khabirova , Paul Mackerras , Andy Lutomirski , Breno Leitao , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [v5] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call Message-Id: <43Dh6S55N5z9s3q@ozlabs.org> Date: Wed, 12 Dec 2018 00:45:52 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-12-07 at 15:56:05 UTC, "Dmitry V. Levin" wrote: > From: Elvira Khabirova > > Arch code should use tracehook_*() helpers, as documented > in include/linux/tracehook.h, > ptrace_report_syscall() is not expected to be used outside that file. > > The patch does not look very nice, but at least it is correct > and opens the way for PTRACE_GET_SYSCALL_INFO API. > > Co-authored-by: Dmitry V. Levin > Fixes: 5521eb4bca2d ("powerpc/ptrace: Add support for PTRACE_SYSEMU") > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Oleg Nesterov > Cc: Breno Leitao > Cc: Andy Lutomirski > Cc: Eugene Syromyatnikov > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Elvira Khabirova > Signed-off-by: Dmitry V. Levin Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/a225f1567405558fb5410e9b2b9080 cheers