Lines Matching refs:bad_request
57 test_peeksiginfo(unsigned long pid, const unsigned long bad_request) in test_peeksiginfo() argument
59 do_ptrace(PTRACE_PEEKSIGINFO, pid, 0, bad_request); in test_peeksiginfo()
61 (unsigned) pid, bad_request, errstr); in test_peeksiginfo()
73 do_ptrace(PTRACE_PEEKSIGINFO, pid, (unsigned long) psi, bad_request); in test_peeksiginfo()
76 (unsigned) pid, psi->off, psi->nr, bad_request, errstr); in test_peeksiginfo()
176 const unsigned long bad_request = in main() local
190 do_ptrace(bad_request, pid, 0, 0); in main()
192 bad_request, (unsigned) pid, errstr); in main()
194 do_ptrace(PTRACE_PEEKDATA, pid, bad_request, bad_data); in main()
197 (unsigned) pid, bad_request, errstr); in main()
200 (unsigned) pid, bad_request, bad_data, errstr); in main()
203 do_ptrace(PTRACE_PEEKTEXT, pid, bad_request, bad_data); in main()
206 (unsigned) pid, bad_request, errstr); in main()
209 (unsigned) pid, bad_request, bad_data, errstr); in main()
212 do_ptrace(PTRACE_PEEKUSER, pid, bad_request, bad_data); in main()
215 (unsigned) pid, bad_request, errstr); in main()
218 (unsigned) pid, bad_request, bad_data, errstr); in main()
221 do_ptrace(PTRACE_POKEUSER, pid, bad_request, bad_data); in main()
223 (unsigned) pid, bad_request, bad_data, errstr); in main()
270 do_ptrace(PTRACE_GETEVENTMSG, pid, bad_request, bad_data); in main()
272 (unsigned) pid, bad_request, bad_data, errstr); in main()
280 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
283 (unsigned) pid, bad_request, errstr); in main()
291 sip->si_ptr = (void *) bad_request; in main()
293 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
297 (unsigned) pid, bad_request, sip->si_int, sip->si_ptr, in main()
306 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
309 (unsigned) pid, bad_request, sip->si_addr, errstr); in main()
317 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
320 (unsigned) pid, bad_request, sip->si_addr, errstr); in main()
328 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
331 (unsigned) pid, bad_request, sip->si_errno, sip->si_addr, in main()
342 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
345 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main()
357 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
362 (unsigned) pid, bad_request, sip->si_call_addr, sip->si_syscall, in main()
370 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
375 (unsigned) pid, bad_request, sip->si_errno, sip->si_arch, in main()
388 do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
392 (unsigned) pid, bad_request, sip->si_timerid, sip->si_overrun, in main()
396 do_ptrace(PTRACE_GETSIGINFO, pid, bad_request, (unsigned long) sip); in main()
398 " = %s\n", (unsigned) pid, bad_request, sip, errstr); in main()
441 do_ptrace(PTRACE_SEIZE, pid, bad_request, PTRACE_O_TRACESYSGOOD); in main()
443 (unsigned) pid, bad_request, errstr); in main()
445 do_ptrace(PTRACE_SETREGSET, pid, 1, bad_request); in main()
447 (unsigned) pid, bad_request, errstr); in main()
449 do_ptrace(PTRACE_GETREGSET, pid, 3, bad_request); in main()
451 (unsigned) pid, bad_request, errstr); in main()
453 test_peeksiginfo(pid, bad_request); in main()