ptrace_event(PTRACE_EVENT_EXEC) sends SIGTRAP if PT_TRACE_EXEC isnot set. This is because this SIGTRAP predates PTRACE_O_TRACEEXECoption, we do not need/want this with PT_SEIZED which can set theoptions during attach.