summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/tty/BUILD
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2018-06-11 11:08:51 -0700
committerShentubot <shentubot@google.com>2018-06-11 11:09:43 -0700
commit032b0398a5a664c345c4868d5527846a1b6848db (patch)
treed07b058346fad39e9598d3f56d4e8d957e50f8ba /pkg/sentry/fs/tty/BUILD
parentc0ab059e7b904197f52ade879711d7fb02ffa8c0 (diff)
Sentry: split tty.queue into its own file.
Minor refactor. line_discipline.go was home to 2 large structs (lineDiscipline and queue), and queue is now large enough IMO to get its own file. Also moves queue locks into the queue struct, making locking simpler. PiperOrigin-RevId: 200080301 Change-Id: Ia75a0e9b3d9ac8d7e5a0f0099a54e1f5b8bdea34
Diffstat (limited to 'pkg/sentry/fs/tty/BUILD')
-rw-r--r--pkg/sentry/fs/tty/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fs/tty/BUILD b/pkg/sentry/fs/tty/BUILD
index 90b350410..fce327dfe 100644
--- a/pkg/sentry/fs/tty/BUILD
+++ b/pkg/sentry/fs/tty/BUILD
@@ -11,6 +11,7 @@ go_stateify(
"inode.go",
"line_discipline.go",
"master.go",
+ "queue.go",
"slave.go",
"terminal.go",
],
@@ -26,6 +27,7 @@ go_library(
"inode.go",
"line_discipline.go",
"master.go",
+ "queue.go",
"slave.go",
"terminal.go",
"tty_state.go",