diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-12-06 22:36:35 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-06 22:36:35 +0000 |
commit | b2e153db1d367345e9fa381ebf76bd92f04d384b (patch) | |
tree | 00243f6b4d645a62a89dd52a3ba71f5c442fd61b /pkg/sentry/fs | |
parent | 9c549c975847ef6d4d1e07c69bf2fb5721ab5c09 (diff) | |
parent | 663fe840f79ac3d8e2ce1a1f1409d84cf2a9d37e (diff) |
Merge release-20191129.0-14-g663fe84 (automated)
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r-- | pkg/sentry/fs/tty/terminal.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/fs/tty/terminal.go b/pkg/sentry/fs/tty/terminal.go index ff8138820..917f90cc0 100644 --- a/pkg/sentry/fs/tty/terminal.go +++ b/pkg/sentry/fs/tty/terminal.go @@ -53,8 +53,8 @@ func newTerminal(ctx context.Context, d *dirInodeOperations, n uint32) *Terminal d: d, n: n, ld: newLineDiscipline(termios), - masterKTTY: &kernel.TTY{}, - slaveKTTY: &kernel.TTY{}, + masterKTTY: &kernel.TTY{Index: n}, + slaveKTTY: &kernel.TTY{Index: n}, } t.EnableLeakCheck("tty.Terminal") return &t |