From 032b0398a5a664c345c4868d5527846a1b6848db Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Mon, 11 Jun 2018 11:08:51 -0700 Subject: 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 --- pkg/sentry/fs/tty/BUILD | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/sentry/fs/tty/BUILD') 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", -- cgit v1.2.3