2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/arch/um/kernel/skas
Jeff Dike 501cb02b43 [PATCH] uml: fix strace -f
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>
2005-06-08 16:21:12 -07:00
..
include [PATCH] uml: Fix process exit race 2005-05-06 22:09:30 -07:00
util [PATCH] uml: cross-build support : mk_ptregs 2005-05-05 16:36:34 -07:00
exec_kern.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mem_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
process_kern.c [PATCH] uml: fix strace -f 2005-06-08 16:21:12 -07:00
process.c [PATCH] uml: Turn literal numbers into symbolic constants 2005-05-06 22:09:30 -07:00
syscall_kern.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
syscall_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
time.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
trap_user.c [PATCH] uml: S390 preparation, abstract host page fault data 2005-05-05 16:36:36 -07:00
uaccess.c [PATCH] uml: x86_64 fixes 2005-05-06 22:09:31 -07:00