android_kernel_xiaomi_sm8350/arch/um/kernel
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
..
skas [PATCH] uml: fix strace -f 2005-06-08 16:21:12 -07:00
tt [PATCH] uml: remove jail mode + other leftovers 2005-05-28 16:46:14 -07:00
config.c.in Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dyn.lds.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
exec_kern.c [PATCH] uml: remove 2_5compat.h 2005-05-28 16:46:11 -07:00
exitcode.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gmon_syms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gprof_syms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
helper.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
initrd.c [PATCH] uml: initrd cleanup 2005-05-20 15:48:18 -07:00
irq_user.c [PATCH] uml: change memcpy to memmove 2005-05-17 07:59:11 -07:00
irq.c [PATCH] uml: Fix SIGWINCH relaying 2005-05-05 16:36:36 -07:00
ksyms.c [PATCH] uml: Export clear_user_* 2005-05-20 15:48:18 -07:00
main.c [PATCH] uml: fix segfault on exit with CONFIG_GCOV 2005-05-28 16:46:12 -07:00
Makefile [PATCH] uml: initrd cleanup 2005-05-20 15:48:18 -07:00
mem_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mem.c [PATCH] uml: fixrange_init 3-level page table support 2005-05-20 15:48:18 -07:00
physmem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
process_kern.c [PATCH] uml: remove unused code 2005-05-28 16:46:12 -07:00
process.c [PATCH] uml: Fix SIGWINCH relaying 2005-05-05 16:36:36 -07:00
ptrace.c [PATCH] uml: fix a couple of warnings 2005-05-28 16:46:11 -07:00
reboot.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
resource.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigio_kern.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigio_user.c [PATCH] uml: Fix SIGWINCH relaying 2005-05-05 16:36:36 -07:00
signal_kern.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
signal_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
syscall_kern.c [PATCH] uml: x86_64 fixes 2005-05-06 22:09:31 -07:00
syscall_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysrq.c [PATCH] uml: stack dump fix 2005-05-28 16:46:13 -07:00
tempfile.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
time_kern.c [PATCH] uml: s390 preparation, delay moved to arch 2005-05-05 16:36:38 -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_kern.c [PATCH] uml: remove 2_5compat.h 2005-05-28 16:46:11 -07:00
trap_user.c [PATCH] uml: S390 preparation, abstract host page fault data 2005-05-05 16:36:36 -07:00
tty_log.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uaccess_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
um_arch.c [PATCH] uml: remove jail mode + other leftovers 2005-05-28 16:46:14 -07:00
umid.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uml.lds.S [PATCH] uml: small fixes left over from rc4 2005-05-20 15:48:17 -07:00
user_util.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vmlinux.lds.S [PATCH] uml: include the linker script rather than symlink it 2005-05-05 16:36:33 -07:00