title: How to block tracee catch SIGTRAP with ptrace
body: <p>When I want to inspect tracee syscall I use <code>PTRACE_ATTACH</code> , then <code>PTRACE_SYSCALL</code> in loop , and finally <code>PTRACE_DETACH</code> .</p>
  
  <p>The problem is that if the tracee registered to SIGTRAP or SIGCONT it can change his behaviour while I use PTRACE_SYSCALL or PTRACE_DETACH and I don't want to do it.</p>
  
  <p>When I attach to tracee with <code>PTRACE_ATTACH</code> tracee got <code>SIGSTOP</code> but it can't register/reaction to this signal, so that it fine.</p>
  
  <p>What is the solution that the tracee could not catch SIGTRAP when I use <code>PTRACE_SYSCALL</code> or SIGCONT when I used <code>PTRACE_CONT</code></p>