Home
last modified time | relevance | path

Searched refs:siginfo (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/ptrace/
Dpeeksiginfo.c109 siginfo_t siginfo[SIGNR]; in check_direct_path() local
122 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); in check_direct_path()
132 if (siginfo[j].si_code == si_code && in check_direct_path()
133 siginfo[j].si_int == i) in check_direct_path()
137 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path()
154 siginfo_t siginfo[SIGNR]; in main() local
179 siginfo->si_code = TEST_SICODE_SHARE; in main()
180 siginfo->si_int = i; in main()
181 sys_rt_sigqueueinfo(child, SIGRTMIN, siginfo); in main()
183 siginfo->si_code = TEST_SICODE_PRIV; in main()
[all …]
/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c115 siginfo_t siginfo; in run_test() local
173 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo) != 0) { in run_test()
179 if (siginfo.si_code != TRAP_HWBKPT) { in run_test()
181 "Unexpected si_code %d\n", siginfo.si_code); in run_test()
/tools/testing/selftests/cgroup/
Dtest_freezer.c587 siginfo_t siginfo; in test_cgfreezer_ptrace() local
622 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo)) in test_cgfreezer_ptrace()
713 siginfo_t siginfo; in test_cgfreezer_ptraced() local
748 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo)) in test_cgfreezer_ptraced()
/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c215 siginfo_t siginfo; in check_success() local
223 ptrace(PTRACE_GETSIGINFO, child_pid, NULL, &siginfo); in check_success()
226 (unsigned long)siginfo.si_addr < saddr || in check_success()
227 (unsigned long)siginfo.si_addr > eaddr) { in check_success()
/tools/testing/selftests/vm/
Duserfaultfd.c886 static void sighndl(int sig, siginfo_t *siginfo, void *ptr) in sighndl() argument