Home | History | Annotate | Download | only in strace

Lines Matching refs:ptrace_setoptions

79 unsigned int ptrace_setoptions = 0;
349 r = ptrace(PTRACE_SEIZE, pid, 0L, (unsigned long)ptrace_setoptions);
1325 * First fork a new child, call ptrace with PTRACE_SETOPTIONS on it,
1401 if (ptrace(PTRACE_SETOPTIONS, pid, 0, test_options) < 0
1403 perror_msg("PTRACE_SETOPTIONS");
1422 ptrace_setoptions |= test_options;
1424 fprintf(stderr, "ptrace_setoptions = %#x\n",
1425 ptrace_setoptions);
1435 * First fork a new child, call ptrace(PTRACE_SETOPTIONS) on it,
1508 if (ptrace(PTRACE_SETOPTIONS, pid, 0L, test_options) < 0
1510 perror_msg("PTRACE_SETOPTIONS");
1524 ptrace_setoptions |= test_options;
1526 fprintf(stderr, "ptrace_setoptions = %#x\n",
1527 ptrace_setoptions);
2295 if (!use_seize && ptrace_setoptions) {
2297 fprintf(stderr, "setting opts 0x%x on pid %d\n", ptrace_setoptions, tcp->pid);
2298 if (ptrace(PTRACE_SETOPTIONS, tcp->pid, NULL, ptrace_setoptions) < 0) {
2301 perror_msg_and_die("PTRACE_SETOPTIONS");