diff options
author | Andrei Vagin <avagin@google.com> | 2018-12-14 16:23:03 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-14 16:24:21 -0800 |
commit | 3cf84e3bef865214fcf2b080a05065f0a9e976ec (patch) | |
tree | 4f5dd7253eb8a175f08a59619ba66346da1ac28e /pkg | |
parent | e1dcf92ec5cf7d9bf58fb322f46f6ae2d98699d2 (diff) |
Mark sync.Mutex in TTYFileOperations as nosave
PiperOrigin-RevId: 225621767
Change-Id: Ie3a42cdf0b0de22a020ff43e307bf86409cff329
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/sentry/fs/host/tty.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/host/tty.go b/pkg/sentry/fs/host/tty.go index f0bcdc908..ac6ad1b87 100644 --- a/pkg/sentry/fs/host/tty.go +++ b/pkg/sentry/fs/host/tty.go @@ -35,7 +35,7 @@ type TTYFileOperations struct { fileOperations // mu protects the fields below. - mu sync.Mutex + mu sync.Mutex `state:"nosave"` // FGProcessGroup is the foreground process group this TTY. Will be // nil if not set or if this file has been released. |