From 25178ebdf5e881eae8e81eaf2f69d96de42d2250 Mon Sep 17 00:00:00 2001 From: Zhaozhong Ni Date: Fri, 3 Aug 2018 12:07:57 -0700 Subject: stateify: make explicit mode no longer optional. PiperOrigin-RevId: 207303405 Change-Id: I17b6433963d78e3631a862b7ac80f566c8e7d106 --- pkg/sentry/fs/host/socket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/sentry') diff --git a/pkg/sentry/fs/host/socket.go b/pkg/sentry/fs/host/socket.go index 1d93eb1e3..4ace71c3e 100644 --- a/pkg/sentry/fs/host/socket.go +++ b/pkg/sentry/fs/host/socket.go @@ -37,7 +37,7 @@ import ( // // +stateify savable type endpoint struct { - queue waiter.Queue `state:"nosave"` + queue waiter.Queue `state:"zerovalue"` // stype is the type of Unix socket. (Ex: unix.SockStream, // unix.SockSeqpacket, unix.SockDgram) -- cgit v1.2.3