diff options
author | Eric W. Biederman <[email protected]> | 2021-09-02 16:10:11 -0500 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2021-10-06 11:27:41 -0500 |
commit | 4f627af8e6068892cafe031df6c14e8a0aaaa426 (patch) | |
tree | 2d6cc291f73c0367ce55d601a1bed6984ef68473 /scripts/gdb/linux/utils.py | |
parent | 7d613f9f72ec8f90ddefcae038fdae5adb8404b3 (diff) |
ptrace: Remove the unnecessary arguments from arch_ptrace_stop
Both arch_ptrace_stop_needed and arch_ptrace_stop are called with an
exit_code and a siginfo structure. Neither argument is used by any of
the implementations so just remove the unneeded arguments.
The two arechitectures that implement arch_ptrace_stop are ia64 and
sparc. Both architectures flush their register stacks before a
ptrace_stack so that all of the register information can be accessed
by debuggers.
As the question of if a register stack needs to be flushed is
independent of why ptrace is stopping not needing arguments make sense.
Cc: David Miller <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/87lf3mx290.fsf@disp2133
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions