linux-stable/arch/arc/kernel
Vineet Gupta c3581039b6 ARC: Signal handling
Includes following fixes courtesy review by Al-Viro

* Tracer poke to Callee-regs were lost

  Before going off into do_signal( ) we save the user-mode callee regs
  (as they are not saved by default as part of pt_regs). This is to make
  sure that that a Tracer (if tracing related signal) is able to do likes
  of PEEKUSR(callee-reg).

  However in return path we were simply discarding the user-mode callee
  regs, which would break a POKEUSR(callee-reg) from a tracer.

* Issue related to multiple syscall restarts are addressed in next patch

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Acked-by: Jonas Bonn <jonas@southpole.se>
2013-02-15 23:03:30 +05:30
..
arcksyms.c ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
asm-offsets.c ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
clk.c ARC: Timers/counters/delay management 2013-02-11 20:00:39 +05:30
ctx_sw.c ARC: Process-creation/scheduling/idle-loop 2013-02-11 20:00:38 +05:30
ctx_sw_asm.S ARC: Process-creation/scheduling/idle-loop 2013-02-11 20:00:38 +05:30
entry.S ARC: Signal handling 2013-02-15 23:03:30 +05:30
fpu.c ARC: Process-creation/scheduling/idle-loop 2013-02-11 20:00:38 +05:30
irq.c ARC: Interrupt Handling 2013-02-11 20:00:37 +05:30
Makefile ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
process.c ARC: Process-creation/scheduling/idle-loop 2013-02-11 20:00:38 +05:30
signal.c ARC: Signal handling 2013-02-15 23:03:30 +05:30
sys.c ARC: Syscall support (no-legacy-syscall ABI) 2013-02-11 20:00:38 +05:30
time.c ARC: Timers/counters/delay management 2013-02-11 20:00:39 +05:30
traps.c ARC: Non-MMU Exception Handling 2013-02-11 20:00:37 +05:30
vmlinux.lds.S ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30