summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/signal32.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-18 06:32:30 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-24 10:18:21 -0700
commitc9bc125c922e855055cd08b2ec064180218be161 (patch)
treed0755f0f542490a949a868a5207275641603c310 /arch/sparc/kernel/signal32.c
parent2b11d80e1aa70b56c6431e4dc3c686ffc61a73bf (diff)
sparc: Fix system call tracing register handling.
[ Upstream commit 1a40b95374f680625318ab61d81958e949e0afe3 ] A system call trace trigger on entry allows the tracing process to inspect and potentially change the traced process's registers. Account for that by reloading the %g1 (syscall number) and %i0-%i5 (syscall argument) values. We need to be careful to revalidate the range of %g1, and reload the system call table entry it corresponds to into %l7. Reported-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net> Tested-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/kernel/signal32.c')
0 files changed, 0 insertions, 0 deletions