mbox series

[0/3] arch: ptrace: Cleanup ptrace_disable

Message ID 20220830065316.3924938-1-guoren@kernel.org (mailing list archive)
Headers show
Series arch: ptrace: Cleanup ptrace_disable | expand

Message

Guo Ren Aug. 30, 2022, 6:53 a.m. UTC
From: Guo Ren <guoren@linux.alibaba.com>

This series cleanup ptrace_disable() in arch/*. Some architectures
are duplicate clearing SYSCALL TRACE.

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(-)

Comments

Oleg Nesterov Aug. 30, 2022, 2:20 p.m. UTC | #1
On 08/30, guoren@kernel.org wrote:
>
> From: Guo Ren <guoren@linux.alibaba.com>
>
> This series cleanup ptrace_disable() in arch/*. Some architectures
> are duplicate clearing SYSCALL TRACE.
>
> 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(-)

Reviewed-by: Oleg Nesterov <oleg@redhat.com>