diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-13 16:31:33 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-13 16:32:23 -0800 |
commit | 336f758d59a8a0411c745d744a1e5c3294eaf78a (patch) | |
tree | deb292095d163d762f6401e013171bd9eaa7852d /pkg/sentry/fsimpl/proc/subtasks.go | |
parent | 16308b9dc1d3709fadebb9f56a71f2ab81771c8a (diff) |
Ensure the marshalled object doesn't escape.
Add new Marshallable interface methods CopyIn/CopyOut, which can be directly
called on the marshalled object, avoiding an interface indirection. Such
indirections are problematic because they always cause the marshalled object to
escape.
PiperOrigin-RevId: 295028010
Diffstat (limited to 'pkg/sentry/fsimpl/proc/subtasks.go')
0 files changed, 0 insertions, 0 deletions