diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-18 14:32:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-22 03:06:00 +0300 |
commit | 1a40b95374f680625318ab61d81958e949e0afe3 (patch) | |
tree | 6340453bf231d117cd93aa6cc02556af3403ae2f /drivers | |
parent | c10910c323bb9e7fc53ba25c83d1adeb9fb20878 (diff) | |
download | linux-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')
0 files changed, 0 insertions, 0 deletions