]> git.baikalelectronics.ru Git - kernel.git/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)
commit1535429d7d6dd559808c9e050a3a3518c6dd9ec1
treed5c1b4e5b9a5e8c22198bc92839c80305641cb09
parentf3579b7ea8d228342101933938fe0552f74cf45b
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