Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1538200imu; Fri, 9 Nov 2018 19:22:04 -0800 (PST) X-Google-Smtp-Source: AJdET5fkDL7q0HMCMiNbl6HgYN9f6tTng+qP5VtzQfJ8gV8isbjCb4qkhbUSTwr1DE1uCIVL2J2X X-Received: by 2002:a63:9b11:: with SMTP id r17mr9900121pgd.416.1541820124559; Fri, 09 Nov 2018 19:22:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541820124; cv=none; d=google.com; s=arc-20160816; b=EcFA8lY78WAXFNscOAQYEkfsJaApikyZedhcnEj7ssNhSrNmHpbbUgD2mlCXKUh56F 5ESBM93WUeFhwgG7AD9gBzldV2fAqQGW6ZvYWsTrwkx4Ak+QN13GrxYqwKnO7wxZjMjX MqUtLxrY/iMRlJV9Q/PihpRqAJ4zUZzQOcnNmbnUO5t6LMWzj2i1U1hSwhcSFTmMV/zB XUbHW4Wos4MRKqGKe/RO++9jP1Toj8XTnldvAdluogOuOGlexjkS3gqm5fUFeejog1xG Bze1Dx28Gh4r42il+H/XTc3DZwxLGWVmqTd/DuLOdUB6Bv1oQz+mFo4+zwLsLe9cA5zq qg+w== 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 :message-id:subject:cc:to:from:date; bh=9irNmUYID9jHyZaOCyQjBqt3fmoRQ9/gTCpkXCHQ94M=; b=loXGV/9vX6cKzuckdMpYXTbBa+lj9ei+ciFkGoSxUkp1JPkEP5OlKUCRlOY9X62zmg RuhxPA0pBoiANf1vB6HF8koxWZtPTFz3XMn4ezbEDPOCM8cGx+BBR1sXl0RamKx4wO9j 2ik4XFZ7HmVekWucGGBCF2WI5NfSwGZWSvFmdekjpy0uJMFxOampjaNe3yT8PT1baQRt Hf6M3EGUCEcsx7x7jbM41vv+1L3eS3UzUpWTtCR0d82vglBqvFOTbwDnpsGvZH8YzVmE HpTiLJZPrQq8UdckDBTkH+Kwj1l1z81R8SbmdLh4BYM4/X6ZXebr23n4RezVI1ve67uY hLwg== 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 g11-v6si2549123pfe.186.2018.11.09.19.21.49; Fri, 09 Nov 2018 19:22:04 -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 S1728668AbeKJNEO (ORCPT + 99 others); Sat, 10 Nov 2018 08:04:14 -0500 Received: from air.basealt.ru ([194.107.17.39]:57604 "EHLO air.basealt.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728228AbeKJNEO (ORCPT ); Sat, 10 Nov 2018 08:04:14 -0500 Received: by air.basealt.ru (Postfix, from userid 490) id 357AF589A99; Sat, 10 Nov 2018 03:20:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Received: from akathisia (ip4-83-240-49-150.cust.nbox.cz [83.240.49.150]) by air.basealt.ru (Postfix) with ESMTPSA id 23AB2589A97; Sat, 10 Nov 2018 03:20:42 +0000 (UTC) Date: Sat, 10 Nov 2018 04:20:40 +0100 From: Elvira Khabirova To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, leitao@debian.org, oleg@redhat.com, luto@kernel.org, ldv@altlinux.org Subject: [PATCH] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call Message-ID: <20181110042040.68ed3ac8@akathisia> 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 Arch code should use tracehook_*() helpers, as documented in include/linux/tracehook.h. Signed-off-by: Elvira Khabirova --- arch/powerpc/kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index afb819f4ca68..f73f8ea402e9 100644 --- a/arch/powerpc/kernel/ptrace.c +++ b/arch/powerpc/kernel/ptrace.c @@ -3266,7 +3266,7 @@ long do_syscall_trace_enter(struct pt_regs *regs) user_exit(); if (test_thread_flag(TIF_SYSCALL_EMU)) { - ptrace_report_syscall(regs); + tracehook_report_syscall_entry(regs); /* * Returning -1 will skip the syscall execution. We want to * avoid clobbering any register also, thus, not 'gotoing' -- 2.19.1