/* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Derived from "arch/m68k/kernel/ptrace.c" * Copyright (C) 1994 by Hamish Macdonald * Taken from linux/kernel/ptrace.c and modified for M680x0. * linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds * * Modified by Cort Dougan (cort@hq.fsmlabs.com) * and Paul Mackerras (paulus@samba.org). * * This file is subject to the terms and conditions of the GNU General * Public License. See the file README.legal in the main directory of * this archive for more details. */#include<linux/kernel.h>#include<linux/sched.h>#include<linux/mm.h>#include<linux/smp.h>#include<linux/errno.h>#include<linux/ptrace.h>#include<linux/regset.h>#include<linux/tracehook.h>#include<linux/elf.h>#include<linux/user.h>#include<linux/security.h>#include<linux/signal.h>#include<linux/seccomp.h>#include<linux/audit.h>#ifdef CONFIG_PPC32#include<linux/module.h>#endif#include<asm/uaccess.h>#include<asm/page.h>#include<a