diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-10 02:19:26 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-10 02:19:26 +0000 |
commit | 4fa86d8e40dd4bb595b7ed33290021acedb001d5 (patch) | |
tree | 32eecd1209588433b2e8ff29fb8f2fa5e6969d29 /pkg/sentry/kernel/epoll | |
parent | aec346f392a983687719a813ed58c6f8b54aede9 (diff) | |
parent | 78126611e61e26269d804dd18a5229820c4ddced (diff) |
Merge release-20200323.0-119-g7812661 (automated)
Diffstat (limited to 'pkg/sentry/kernel/epoll')
-rwxr-xr-x | pkg/sentry/kernel/epoll/epoll_state_autogen.go | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/pkg/sentry/kernel/epoll/epoll_state_autogen.go b/pkg/sentry/kernel/epoll/epoll_state_autogen.go index afdea5bcf..da3150465 100755 --- a/pkg/sentry/kernel/epoll/epoll_state_autogen.go +++ b/pkg/sentry/kernel/epoll/epoll_state_autogen.go @@ -43,26 +43,26 @@ func (x *pollEntry) load(m state.Map) { func (x *EventPoll) beforeSave() {} func (x *EventPoll) save(m state.Map) { x.beforeSave() - if !state.IsZeroValue(x.FilePipeSeek) { - m.Failf("FilePipeSeek is %v, expected zero", x.FilePipeSeek) + if !state.IsZeroValue(&x.FilePipeSeek) { + m.Failf("FilePipeSeek is %#v, expected zero", &x.FilePipeSeek) } - if !state.IsZeroValue(x.FileNotDirReaddir) { - m.Failf("FileNotDirReaddir is %v, expected zero", x.FileNotDirReaddir) + if !state.IsZeroValue(&x.FileNotDirReaddir) { + m.Failf("FileNotDirReaddir is %#v, expected zero", &x.FileNotDirReaddir) } - if !state.IsZeroValue(x.FileNoFsync) { - m.Failf("FileNoFsync is %v, expected zero", x.FileNoFsync) + if !state.IsZeroValue(&x.FileNoFsync) { + m.Failf("FileNoFsync is %#v, expected zero", &x.FileNoFsync) } - if !state.IsZeroValue(x.FileNoopFlush) { - m.Failf("FileNoopFlush is %v, expected zero", x.FileNoopFlush) + if !state.IsZeroValue(&x.FileNoopFlush) { + m.Failf("FileNoopFlush is %#v, expected zero", &x.FileNoopFlush) } - if !state.IsZeroValue(x.FileNoIoctl) { - m.Failf("FileNoIoctl is %v, expected zero", x.FileNoIoctl) + if !state.IsZeroValue(&x.FileNoIoctl) { + m.Failf("FileNoIoctl is %#v, expected zero", &x.FileNoIoctl) } - if !state.IsZeroValue(x.FileNoMMap) { - m.Failf("FileNoMMap is %v, expected zero", x.FileNoMMap) + if !state.IsZeroValue(&x.FileNoMMap) { + m.Failf("FileNoMMap is %#v, expected zero", &x.FileNoMMap) } - if !state.IsZeroValue(x.Queue) { - m.Failf("Queue is %v, expected zero", x.Queue) + if !state.IsZeroValue(&x.Queue) { + m.Failf("Queue is %#v, expected zero", &x.Queue) } m.Save("files", &x.files) m.Save("readyList", &x.readyList) |