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/fs/tty/BUILD | |
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/fs/tty/BUILD')
-rw-r--r-- | pkg/sentry/fs/tty/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fs/tty/BUILD b/pkg/sentry/fs/tty/BUILD index bee2db3f3..908d9de09 100644 --- a/pkg/sentry/fs/tty/BUILD +++ b/pkg/sentry/fs/tty/BUILD @@ -24,6 +24,7 @@ go_library( "//pkg/sentry/fs", "//pkg/sentry/fs/fsutil", "//pkg/sentry/kernel/auth", + "//pkg/sentry/safemem", "//pkg/sentry/socket/unix/transport", "//pkg/sentry/unimpl", "//pkg/sentry/usermem", |