]> git.baikalelectronics.ru Git - kernel.git/commit
arm: new way of handling ERESTART_RESTARTBLOCK
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 May 2012 01:02:03 +0000 (21:02 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 May 2012 18:39:11 +0000 (14:39 -0400)
commitb716887091a038e3a8ba4f03c7441d601034f3ca
tree2bf168797818da579310adcd192765fcbe34ae87
parentdd131ebccff53eb413025453898b333e80ae5a32
arm: new way of handling ERESTART_RESTARTBLOCK

new "syscall start" flag; handled in syscall_trace() by switching
syscall number to that of syscall_restart(2).  Restarts of that
kind (ERESTART_RESTARTBLOCK) are handled by setting that bit;
syscall number is not modified until the actual call.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/arm/include/asm/thread_info.h
arch/arm/kernel/ptrace.c
arch/arm/kernel/signal.c