diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-03-23 19:03:20 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-23 19:03:20 +0000 |
commit | e48ad2ada0357cb8ee9185074aaff7ab44d84631 (patch) | |
tree | f8848b871cd5e3a0d07853083e024a231438085c /pkg/sentry/arch/arch_state_autogen.go | |
parent | 0fea1c57d9bc63416cc366720b2f53139468352f (diff) | |
parent | acb4c62885629d6d3ee977b93c27282abed0b33f (diff) |
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/arch/arch_state_autogen.go')
-rw-r--r-- | pkg/sentry/arch/arch_state_autogen.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/sentry/arch/arch_state_autogen.go b/pkg/sentry/arch/arch_state_autogen.go index e0a1de627..fd93f89dd 100644 --- a/pkg/sentry/arch/arch_state_autogen.go +++ b/pkg/sentry/arch/arch_state_autogen.go @@ -25,6 +25,7 @@ func (m *MmapLayout) StateFields() []string { func (m *MmapLayout) beforeSave() {} +// +checklocksignore func (m *MmapLayout) StateSave(stateSinkObject state.Sink) { m.beforeSave() stateSinkObject.Save(0, &m.MinAddr) @@ -37,6 +38,7 @@ func (m *MmapLayout) StateSave(stateSinkObject state.Sink) { func (m *MmapLayout) afterLoad() {} +// +checklocksignore func (m *MmapLayout) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &m.MinAddr) stateSourceObject.Load(1, &m.MaxAddr) @@ -59,6 +61,7 @@ func (a *AuxEntry) StateFields() []string { func (a *AuxEntry) beforeSave() {} +// +checklocksignore func (a *AuxEntry) StateSave(stateSinkObject state.Sink) { a.beforeSave() stateSinkObject.Save(0, &a.Key) @@ -67,6 +70,7 @@ func (a *AuxEntry) StateSave(stateSinkObject state.Sink) { func (a *AuxEntry) afterLoad() {} +// +checklocksignore func (a *AuxEntry) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &a.Key) stateSourceObject.Load(1, &a.Value) @@ -87,6 +91,7 @@ func (s *SignalAct) StateFields() []string { func (s *SignalAct) beforeSave() {} +// +checklocksignore func (s *SignalAct) StateSave(stateSinkObject state.Sink) { s.beforeSave() stateSinkObject.Save(0, &s.Handler) @@ -97,6 +102,7 @@ func (s *SignalAct) StateSave(stateSinkObject state.Sink) { func (s *SignalAct) afterLoad() {} +// +checklocksignore func (s *SignalAct) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &s.Handler) stateSourceObject.Load(1, &s.Flags) @@ -118,6 +124,7 @@ func (s *SignalStack) StateFields() []string { func (s *SignalStack) beforeSave() {} +// +checklocksignore func (s *SignalStack) StateSave(stateSinkObject state.Sink) { s.beforeSave() stateSinkObject.Save(0, &s.Addr) @@ -127,6 +134,7 @@ func (s *SignalStack) StateSave(stateSinkObject state.Sink) { func (s *SignalStack) afterLoad() {} +// +checklocksignore func (s *SignalStack) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &s.Addr) stateSourceObject.Load(1, &s.Flags) @@ -148,6 +156,7 @@ func (s *SignalInfo) StateFields() []string { func (s *SignalInfo) beforeSave() {} +// +checklocksignore func (s *SignalInfo) StateSave(stateSinkObject state.Sink) { s.beforeSave() stateSinkObject.Save(0, &s.Signo) @@ -158,6 +167,7 @@ func (s *SignalInfo) StateSave(stateSinkObject state.Sink) { func (s *SignalInfo) afterLoad() {} +// +checklocksignore func (s *SignalInfo) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &s.Signo) stateSourceObject.Load(1, &s.Errno) |