summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/ttydev/BUILD
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2020-08-17 10:03:38 -0700
committerRahat Mahmood <46939889+mrahatm@users.noreply.github.com>2020-08-19 11:38:34 -0700
commita22ac024239d2d757c80deca06ad86341691b04c (patch)
treee3ecda5949908535e6343a452940b80e392716a7 /pkg/sentry/devices/ttydev/BUILD
parent703b0d0b47641bcee80402eb7b6cf9b8c1f2cf70 (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/BUILD2
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",
],
)