]> err.no Git - linux-2.6/commit
uml: improve PTRACE_SYSEMU checking
authorJeff Dike <jdike@addtoit.com>
Wed, 23 May 2007 20:57:40 +0000 (13:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:12 +0000 (20:14 -0700)
commitcf6acedbeac17dea1c1eed85048a72e188f3f768
treed5c1b4e5b9a5e8c22198bc92839c80305641cb09
parentda90fa8ff671a0139772ec3b3e82c06077e82122
uml: improve PTRACE_SYSEMU checking

Make the PTRACE_SYSEMU checking more robust.  It will make sure that system
call numbers are reported correctly.  If there is a problem, it will disable
PTRACE_SYSEMU use and use PTRACE_SYSCALL instead.

Thanks to Balaji G for helping reproduce this problem.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/start_up.c