From 3cf84e3bef865214fcf2b080a05065f0a9e976ec Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Fri, 14 Dec 2018 16:23:03 -0800 Subject: Mark sync.Mutex in TTYFileOperations as nosave PiperOrigin-RevId: 225621767 Change-Id: Ie3a42cdf0b0de22a020ff43e307bf86409cff329 --- pkg/sentry/fs/host/tty.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/sentry/fs') 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. -- cgit v1.2.3