]> git.baikalelectronics.ru Git - kernel.git/commit
x86: compat_sys_ptrace
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:31:48 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:48 +0000 (13:31 +0100)
commit2c706b5a4e576c231e682cbeec55c4f89609ecbe
treeda49abc09dcf573df0580b305dba647a70306ac8
parenteea6fd8736f1cbb1a40a573a032f54e3700bc3c3
x86: compat_sys_ptrace

This adds a generic definition of compat_sys_ptrace that calls
compat_arch_ptrace, parallel to sys_ptrace/arch_ptrace.  Some
machines needing this already define a function by that name.
The new generic function is defined only on machines that
put #define __ARCH_WANT_COMPAT_SYS_PTRACE into asm/ptrace.h.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/compat.h
kernel/ptrace.c