summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2019-03-01 15:04:15 -0800
committerShentubot <shentubot@google.com>2019-03-01 15:05:18 -0800
commitd811c1016d090ea88a687bd9bef4951dc08b391d (patch)
tree02fddfec9090fcc026c3c1ab3c54705315e3c6ef /pkg/sentry/platform
parent96226f9a473c0c55e0b632f9fbe883b078a234ea (diff)
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
Diffstat (limited to 'pkg/sentry/platform')
-rw-r--r--pkg/sentry/platform/ptrace/ptrace.go2
1 files changed, 0 insertions, 2 deletions
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