diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-18 06:32:30 -0500 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-07-10 23:07:30 -0400 |
commit | d2e4e89ae871295c539334f50368bb48f74c3caf (patch) | |
tree | 1ec2db65ee0ce49e673d561d1f3c3407cb87d162 /arch/sparc/kernel/winfixup.S | |
parent | daaaff2715757a241f178547cb39ae63882ad7da (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: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch/sparc/kernel/winfixup.S')
0 files changed, 0 insertions, 0 deletions