diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-03-21 18:03:49 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-21 18:05:07 -0700 |
commit | 0cd5f2004444b1c792ab3d4bd3b01699b11b9553 (patch) | |
tree | 110883d8ae024c9df8929fb8834926b63fd7cba0 /pkg/sentry/usage/cpu.go | |
parent | ba828233b9e934992ac024232e5018ce9971f334 (diff) |
Replace manual pty copies to/from userspace with safemem operations.
Also, changing queue.writeBuf from a buffer.Bytes to a [][]byte should reduce
copying and reallocating of slices.
PiperOrigin-RevId: 239713547
Change-Id: I6ee5ff19c3ee2662f1af5749cae7b73db0569e96
Diffstat (limited to 'pkg/sentry/usage/cpu.go')
0 files changed, 0 insertions, 0 deletions