]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] ptrace inferior call interactions with TIF_SYSCALL
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 29 Nov 2011 08:32:54 +0000 (09:32 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 29 Nov 2011 08:33:05 +0000 (09:33 +0100)
commit6f3a0aa0b06a8725bbd0da4a3555487aafb8072c
treee38272051cc3cd49b41ea02c0ed370f5fd52b511
parent9a8b4c28f641bf3887d29dee6ba1e16671b8023a
[S390] ptrace inferior call interactions with TIF_SYSCALL

The TIF_SYSCALL bit needs to be cleared if the debugger changes the state
of the ptraced process in regard to the presence of a system call.
Otherwise the system call will be restarted although the debugger set up
an inferior call.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: stable@kernel.org
arch/s390/kernel/signal.c