diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-18 12:32:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-22 01:06:00 +0100 |
commit | 1a40b95374f680625318ab61d81958e949e0afe3 (patch) | |
tree | 6340453bf231d117cd93aa6cc02556af3403ae2f /Documentation/xz.txt | |
parent | sparc: Hook up copy_file_range syscall. (diff) | |
download | linux-1a40b95374f680625318ab61d81958e949e0afe3.tar.xz linux-1a40b95374f680625318ab61d81958e949e0afe3.zip |
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 'Documentation/xz.txt')
0 files changed, 0 insertions, 0 deletions