Searched refs:user_syscall_nr (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
D | ptrace_syscall.c | 20 # define user_syscall_nr orig_rax macro 30 # define user_syscall_nr orig_eax macro 211 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart() 215 …wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned lo… in test_ptrace_syscall_restart() 230 regs.user_ax = regs.user_syscall_nr; in test_ptrace_syscall_restart() 242 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart() 246 …wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned lo… in test_ptrace_syscall_restart() 274 if (regs.user_syscall_nr != SYS_getpid || in test_ptrace_syscall_restart() 277 …wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned lo… in test_ptrace_syscall_restart() 334 if (regs.user_syscall_nr != SYS_pause || in test_restart_under_ptrace() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-syscall.c | 28 #define user_syscall_nr gpr[0] macro 103 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart() 108 (unsigned long)regs.user_syscall_nr, in test_ptrace_syscall_restart() 137 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart() 142 (unsigned long)regs.user_syscall_nr, in test_ptrace_syscall_restart() 161 regs.user_syscall_nr = SYS_getpid; in test_ptrace_syscall_restart() 185 if (regs.user_syscall_nr != SYS_getpid in test_ptrace_syscall_restart() 191 (unsigned long)regs.user_syscall_nr, in test_ptrace_syscall_restart()
|