summaryrefslogtreecommitdiff
path: root/samples/hidraw/hid-example.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-09-02 16:10:11 -0500
committerEric W. Biederman <ebiederm@xmission.com>2021-10-06 11:27:41 -0500
commit4f627af8e6068892cafe031df6c14e8a0aaaa426 (patch)
tree2d6cc291f73c0367ce55d601a1bed6984ef68473 /samples/hidraw/hid-example.c
parent7d613f9f72ec8f90ddefcae038fdae5adb8404b3 (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 <davem@davemloft.net> Cc: sparclinux@vger.kernel.org Link: https://lkml.kernel.org/r/87lf3mx290.fsf@disp2133 Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'samples/hidraw/hid-example.c')
0 files changed, 0 insertions, 0 deletions