diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2020-08-17 10:03:38 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-17 10:05:43 -0700 |
commit | 97263e505324b7d1c58a3daaac7175241921998f (patch) | |
tree | e3ecda5949908535e6343a452940b80e392716a7 /pkg/sentry/devices/ttydev/BUILD | |
parent | 9a7b5830aa063895f67ca0fdf653a46906374613 (diff) |
[vfs] Return EIO when opening /dev/tty.
This is in compliance with VFS1. See pkg/sentry/fs/dev/tty.go in the struct
ttyInodeOperations.
Fixes the failure of python runtime test_ioctl.
Updates #3515
PiperOrigin-RevId: 327042758
Diffstat (limited to 'pkg/sentry/devices/ttydev/BUILD')
-rw-r--r-- | pkg/sentry/devices/ttydev/BUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/devices/ttydev/BUILD b/pkg/sentry/devices/ttydev/BUILD index 12e49b58a..b4b6ca38a 100644 --- a/pkg/sentry/devices/ttydev/BUILD +++ b/pkg/sentry/devices/ttydev/BUILD @@ -11,6 +11,6 @@ go_library( "//pkg/context", "//pkg/sentry/fsimpl/devtmpfs", "//pkg/sentry/vfs", - "//pkg/usermem", + "//pkg/syserror", ], ) |