From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF13DC43381 for ; Mon, 18 Mar 2019 14:41:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8059D20835 for ; Mon, 18 Mar 2019 14:41:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="s/HIo2YP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8059D20835 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Cs/ZZpT30al56iIUJtQEUBhpediaz/ptWtsMhEbYl3s=; b=s/HIo2YPkX/dx7zDpCCnPMolx F+ZA9wikqcjLPpHssjVzo8oCEOWaJbSLuQ1zeC6BM3/Ddf+8idWl/ZzmbEe8rYQOmtbYlmGSDqMPZ 4N/G+PUODIpwm/pggPztOQ58VTjtH0nNay9kCHMRudLGw+0+oQk2sWlndDigk65HjRZuvnJYhpadT 9cOPq2IqansOdm+IcHbC31zCDFQnXZzGpPwuRYXlsbyQOV4NY1nLkP9+i7+D+X2ufzMqLNR2bzBjA zQ4gwjg6NVBACSP7pjnWwWNJtVO04zlueEWUTVKNBnkQGjVIy3W4vwh+Bk/lzRLxdbV83ElFCp1br HAF1bt7PA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5tS3-0001VY-Vz; Mon, 18 Mar 2019 14:41:19 +0000 Received: from vmicros1.altlinux.org ([194.107.17.57]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5tS0-0001VE-5e for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 14:41:17 +0000 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 3C2B072CC53; Mon, 18 Mar 2019 17:41:15 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 273227CC74C; Mon, 18 Mar 2019 17:41:15 +0300 (MSK) Date: Mon, 18 Mar 2019 17:41:15 +0300 From: "Dmitry V. Levin" To: Sudeep Holla Subject: Re: [PATCH v2 2/6] ptrace: introduce ptrace_syscall_enter to consolidate PTRACE_SYSEMU handling Message-ID: <20190318144115.GC27941@altlinux.org> References: <20190318104925.16600-1-sudeep.holla@arm.com> <20190318104925.16600-3-sudeep.holla@arm.com> MIME-Version: 1.0 In-Reply-To: <20190318104925.16600-3-sudeep.holla@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_074116_404803_3727F7B1 X-CRM114-Status: UNSURE ( 8.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haibo Xu , Steve Capper , Catalin Marinas , jdike@addtoit.com, x86@kernel.org, Will Deacon , linux-kernel@vger.kernel.org, Oleg Nesterov , Richard Weinberger , Ingo Molnar , Paul Mackerras , Andy Lutomirski , Michael Ellerman , Thomas Gleixner , Bin Lu , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============4398432637446323831==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4398432637446323831== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="V88s5gaDVPzZ0KCq" Content-Disposition: inline --V88s5gaDVPzZ0KCq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 18, 2019 at 10:49:21AM +0000, Sudeep Holla wrote: > Currently each architecture handles PTRACE_SYSEMU in very similar way. > It's completely arch independent and can be handled in the code helping > to consolidate PTRACE_SYSEMU handling. >=20 > Let's introduce a hook 'ptrace_syscall_enter' that arch specific syscall > entry code can call. Sorry if I'm late for the party, but the new name looks confusing. If all it does is related to TIF_SYSCALL_EMU, why does it have a generic name 'ptrace_syscall_enter' without any hint of being specific to TIF_SYSCALL_EMU? --=20 ldv --V88s5gaDVPzZ0KCq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJcj64KAAoJEAVFT+BVnCUIxpQP/jwIu65MqEkZ5bTrcyYeWRHb UfiJ2PNmJZ0oW8kKkFfTLL/KpldqRSotVfyVOCu41DfhC1LLouF4LHIlCVObRBj/ 2KRgYkPZbfl1dZ7ErIT6O+YxR5n7ygdP379A5DGIbz2gzm0X2q+I2CjFFIbbyBuQ N8rF1cijb1CCpoHaxDNWtNzTL9gV0fH+kKqNttarKFHV5EYPckR9bat31dktab74 74nI81OVtR3PYJMlWiR9HKS3JBVp9LLZ2wGMmELhwHG6nmEpgoYJwYy4wwlwf+6E DgYZOa2SWx/cdLrQpSF98UjSDd5qoHe1Aycg1cyfbx+Y5/VQBBi72Jb5EwAbyHtZ J0sD0bAueGNOiftyPRDaChSjfIygtUvWsdBjPOXyaz7HSwngussKpFHVopg5mEna ZwzSYFvTcd6mLgX05mKtlQFzYPWHTX/13Hcrtdc+61ABSVbVfkuft5/28H1tO7T5 W9Rwiahj2LS4Ud9IzHAPOvqfQywJSOy2djKvVbh9jDyjyXLh/H7V0ozP3aDLx6U1 VH39RmwNHTVRAlRcEEMtwKvtXUkNvI4aRMwsVfrzv+g2LSx0AgDzcXPRDgbIc5yO rP35A23jtqYdzjplzZjH+JbpRFS8xXoExHYHryXcA3CGGFpJ/9ztMnlkjAR0N0Y3 q0ftG5tIPuT0RCghzjIm =YZtt -----END PGP SIGNATURE----- --V88s5gaDVPzZ0KCq-- --===============4398432637446323831== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4398432637446323831==--