From patchwork Sat Sep 3 16:23:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Ren X-Patchwork-Id: 12965005 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id EB97EECAAD4 for ; Sat, 3 Sep 2022 16:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=eME8EJ1tAJ4wvt7aB0g4sk+hhUzt/93fQr20QMmu7Yc=; b=YZJgKXFtA7v1Me AADu5P8WnKoC0BR5iMt88khpDm3fDGOp0oroqE/JXyE15lVeEjGymtAv4H3l7w58aoJNyMIov31G9 2cpL5jVoQ1DjqFHqFEsVWBZ98akHrcMWws1PXR17hu6EVHyumCIPLUwcJ/n0awM5qYSVg2l0JoT80 fW2bcBXRVReux1tAVF49zNrvxzn8Sh3C0UBpV4PoenkLIs2TF4Fawnw0ic11/Km3nYdBN7liYFOa0 VD5WmulZnRYCDyGDI49mQOpY4yrUuTrZXRMSoakiEYgh3jeeCkxj1ILlHvFCH4Pq2zG3S8bTYg3yf HoO9/SkxmyEPFw2dI/rw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUVvs-00DXFm-Pc; Sat, 03 Sep 2022 16:23:44 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUVvp-00DXAI-Tz; Sat, 03 Sep 2022 16:23:43 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7382B6010E; Sat, 3 Sep 2022 16:23:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 357BAC433D6; Sat, 3 Sep 2022 16:23:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662222219; bh=VwwOXJImNZSacIylO5PCh0kYdKDhH9SoS9a2my6P4Y4=; h=From:To:Cc:Subject:Date:From; b=N3TNQZmCWEBrVbWy6swUqBf+C2W/wMtI95XWC8cOmI4MvR5NcTE6h51nWCrIjSlBO cmcarQ2uFFwOtZifMPk0GLORkQCmJxK+an5f3aFQR8Xz6wY+I/IezDM0TpKfLzw0hJ wJQPenP0cWUS9RaDccXxnVUi2pcRli0rZ4BUzxHZrylvlQngPiJeyyA1LhonssVpDn OjymH9H4a1BoHKcdZqh9EBdo5M1Z4eUHm71+/COidRP9+EcdPfXFkCehqa6IXnUlbr Vmh7U0EMYSQE51Blweln3ZN7yW74dvqqsgoWAew74j6xsDRbcIj3ziwvSTQdXlmR1c 7l3d1nifZ2bfQ== From: guoren@kernel.org To: oleg@redhat.com, vgupta@kernel.org, linux@armlinux.org.uk, monstr@monstr.eu, dinguyen@kernel.org, palmer@dabbelt.com, davem@davemloft.net, arnd@arndb.de, shorne@gmail.com, guoren@kernel.org Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-snps-arc@lists.infradead.org, sparclinux@vger.kernel.org, openrisc@lists.librecores.org, Guo Ren Subject: [PATCH V2 0/3] arch: Cleanup ptrace_disable Date: Sat, 3 Sep 2022 12:23:24 -0400 Message-Id: <20220903162328.1952477-1-guoren@kernel.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220903_092342_047844_263312A1 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Guo Ren This series cleanup ptrace_disable() in arch/*. Some architectures are duplicate clearing SYSCALL TRACE. Changes in V2: - Rebase on linux-6.0-rc3 - Add Reviewed-by tags. Guo Ren (3): riscv: ptrace: Remove duplicate operation openrisc: ptrace: Remove duplicate operation arch: ptrace: Cleanup ptrace_disable arch/arc/kernel/ptrace.c | 4 ---- arch/arm/kernel/ptrace.c | 8 -------- arch/microblaze/kernel/ptrace.c | 5 ----- arch/nios2/kernel/ptrace.c | 5 ----- arch/openrisc/kernel/ptrace.c | 1 - arch/riscv/kernel/ptrace.c | 5 ----- arch/sparc/kernel/ptrace_32.c | 10 ---------- arch/sparc/kernel/ptrace_64.c | 10 ---------- kernel/ptrace.c | 8 ++++++++ 9 files changed, 8 insertions(+), 48 deletions(-)