summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/device/device.go
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2019-03-21 18:03:49 -0700
committerShentubot <shentubot@google.com>2019-03-21 18:05:07 -0700
commit0cd5f2004444b1c792ab3d4bd3b01699b11b9553 (patch)
tree110883d8ae024c9df8929fb8834926b63fd7cba0 /pkg/sentry/device/device.go
parentba828233b9e934992ac024232e5018ce9971f334 (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/device/device.go')
0 files changed, 0 insertions, 0 deletions