Home
last modified time | relevance | path

Searched refs:user_syscall_nr (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/x86/
Dptrace_syscall.c20 # 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/
Dptrace-syscall.c28 #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()