diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-07-30 21:47:42 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-07-30 21:47:42 +0000 |
commit | 9134057f108e516547f7b22cdadc340d813f2228 (patch) | |
tree | f8595961f4c0d521408a8542cbf11168a26c9741 /pkg/sentry/kernel/kernel_state_autogen.go | |
parent | 8110ab1bd357b5cb6cdf4e18e9fabf8cbe4950e5 (diff) | |
parent | c9aac64e0f6712f51166a4bfb1e66190e80e23ae (diff) |
Merge release-20210726.0-16-gc9aac64e0 (automated)
Diffstat (limited to 'pkg/sentry/kernel/kernel_state_autogen.go')
-rw-r--r-- | pkg/sentry/kernel/kernel_state_autogen.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/pkg/sentry/kernel/kernel_state_autogen.go b/pkg/sentry/kernel/kernel_state_autogen.go index dd4ecfe0f..fc07a1251 100644 --- a/pkg/sentry/kernel/kernel_state_autogen.go +++ b/pkg/sentry/kernel/kernel_state_autogen.go @@ -222,8 +222,6 @@ func (f *FDTable) StateFields() []string { return []string{ "FDTableRefs", "k", - "next", - "used", "descriptorTable", } } @@ -234,11 +232,9 @@ func (f *FDTable) beforeSave() {} func (f *FDTable) StateSave(stateSinkObject state.Sink) { f.beforeSave() var descriptorTableValue map[int32]descriptor = f.saveDescriptorTable() - stateSinkObject.SaveValue(4, descriptorTableValue) + stateSinkObject.SaveValue(2, descriptorTableValue) stateSinkObject.Save(0, &f.FDTableRefs) stateSinkObject.Save(1, &f.k) - stateSinkObject.Save(2, &f.next) - stateSinkObject.Save(3, &f.used) } func (f *FDTable) afterLoad() {} @@ -247,9 +243,7 @@ func (f *FDTable) afterLoad() {} func (f *FDTable) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &f.FDTableRefs) stateSourceObject.Load(1, &f.k) - stateSourceObject.Load(2, &f.next) - stateSourceObject.Load(3, &f.used) - stateSourceObject.LoadValue(4, new(map[int32]descriptor), func(y interface{}) { f.loadDescriptorTable(y.(map[int32]descriptor)) }) + stateSourceObject.LoadValue(2, new(map[int32]descriptor), func(y interface{}) { f.loadDescriptorTable(y.(map[int32]descriptor)) }) } func (r *FDTableRefs) StateTypeName() string { |