From d811c1016d090ea88a687bd9bef4951dc08b391d Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Fri, 1 Mar 2019 15:04:15 -0800 Subject: ptrace: drop old FIXME The globalPool uses a sync.Once mechanism for initialization, and no cleanup is strictly required. It's not really feasible to have the platform implement a full creation -> destruction cycle (due to the way filters are assumed to be installed), so drop the FIXME. PiperOrigin-RevId: 236385278 Change-Id: I98ac660ed58cc688d8a07147d16074a3e8181314 --- pkg/sentry/platform/ptrace/ptrace.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkg') diff --git a/pkg/sentry/platform/ptrace/ptrace.go b/pkg/sentry/platform/ptrace/ptrace.go index 00d92b092..8d3f6ac9a 100644 --- a/pkg/sentry/platform/ptrace/ptrace.go +++ b/pkg/sentry/platform/ptrace/ptrace.go @@ -38,8 +38,6 @@ // The requested operation is performed in the traced subprocess thread // (e.g. set registers, execute, return). // -// FIXME: This package is currently sloppy with cleanup. -// // Lock order: // // subprocess.mu -- cgit v1.2.3