summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-08-03 12:07:57 -0700
committerShentubot <shentubot@google.com>2018-08-03 12:09:13 -0700
commit25178ebdf5e881eae8e81eaf2f69d96de42d2250 (patch)
treec56769ea375733dfdcc70ac68cf5c1c45fb9baa8 /pkg/sentry/fs
parenta3927157c56cc022cefebc30c8a9b6014f5d0412 (diff)
stateify: make explicit mode no longer optional.
PiperOrigin-RevId: 207303405 Change-Id: I17b6433963d78e3631a862b7ac80f566c8e7d106
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r--pkg/sentry/fs/host/socket.go2
1 files changed, 1 insertions, 1 deletions
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)