diff --git a/attestation/commandrun/tracing_linux.go b/attestation/commandrun/tracing_linux.go index 7132b7b8..90eb9c24 100644 --- a/attestation/commandrun/tracing_linux.go +++ b/attestation/commandrun/tracing_linux.go @@ -75,7 +75,7 @@ func (r *CommandRun) trace(c *exec.Cmd, actx *attestation.AttestationContext) ([ func (p *ptraceContext) runTrace() error { defer p.retryOpenedFiles() - + runtime.LockOSThread() defer runtime.UnlockOSThread() status := unix.WaitStatus(0)