forked from luck/tmp_suning_uos_patched
501cb02b43
It turns out that we need to check for pending signals when a newly forked process is run for the first time. With strace -f, strace needs to know about the forked process before it gets going. If it doesn't, then it ptraces some bogus values into its registers, and the process segfaults. So, I added calls to interrupt_end, which does that, plus checks for reschedules. There shouldn't be any of those, but x86 does the same thing, so I'm copying that behavior to be safe. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
include | ||
util | ||
exec_kern.c | ||
Makefile | ||
mem_user.c | ||
mem.c | ||
mmu.c | ||
process_kern.c | ||
process.c | ||
syscall_kern.c | ||
syscall_user.c | ||
time.c | ||
tlb.c | ||
trap_user.c | ||
uaccess.c |