summaryrefslogtreecommitdiff
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-18 11:32:30 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-01-22 00:06:00 (GMT)
commit1a40b95374f680625318ab61d81958e949e0afe3 (patch)
tree6340453bf231d117cd93aa6cc02556af3403ae2f /drivers/rapidio
parentc10910c323bb9e7fc53ba25c83d1adeb9fb20878 (diff)
downloadlinux-1a40b95374f680625318ab61d81958e949e0afe3.tar.xz
sparc: Fix system call tracing register handling.
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>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions