summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/epoll
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel/epoll')
-rwxr-xr-xpkg/sentry/kernel/epoll/epoll_state_autogen.go28
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)