PTRACE HARDENING: few cleanups.