// SPDX-License-Identifier: GPL-2.0 /* * linux/arch/cris/kernel/ptrace.c * * Parts taken from the m68k port. * * Copyright (c) 2000, 2001, 2002 Axis Communications AB * * Authors: Bjorn Wesen * */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/errno.h> #include <linux/ptrace.h> #include <linux/user.h> #include <linux/tracehook.h> #include <linux/uaccess.h> #include <asm/page.h> #include <asm/pgtable.h> #include <asm/processor.h> /* notification of userspace execution resumption * - triggered by current->work.notify_resume */ extern int do_signal(int canrestart, struct pt_regs *regs);
void do_notify_resume(int canrestart, struct pt_regs *regs, __u32 thread_info_flags) { /* deal with pending signal delivery */ if (thread_info_flags & _TIF_SIGPENDING) do_signal(canrestart,regs); if (thread_info_flags & _TIF_NOTIFY_RESUME) { clear_thread_flag(TIF_NOTIFY_RESUME); tracehook_notify_resume(regs); } }Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 18 | 37.50% | 1 | 33.33% |
Mikael Starvik | 16 | 33.33% | 1 | 33.33% |
Linus Torvalds | 14 | 29.17% | 1 | 33.33% |
Total | 48 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rabin Vincent | 101 | 100.00% | 1 | 100.00% |
Total | 101 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rabin Vincent | 101 | 50.25% | 1 | 11.11% |
Linus Torvalds | 51 | 25.37% | 3 | 33.33% |
Mikael Starvik | 26 | 12.94% | 1 | 11.11% |
David Howells | 21 | 10.45% | 2 | 22.22% |
Jesper Nilsson | 1 | 0.50% | 1 | 11.11% |
Greg Kroah-Hartman | 1 | 0.50% | 1 | 11.11% |
Total | 201 | 100.00% | 9 | 100.00% |