diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-09 19:26:05 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-09 19:26:05 +0000 |
commit | 69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch) | |
tree | 9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/sentry/kernel/shm | |
parent | 578aece760dd47a06a686f82efab5b650807d4c5 (diff) | |
parent | 743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff) |
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/kernel/shm')
-rw-r--r-- | pkg/sentry/kernel/shm/shm_state_autogen.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/sentry/kernel/shm/shm_state_autogen.go b/pkg/sentry/kernel/shm/shm_state_autogen.go index 846cbc2d5..8202c37d6 100644 --- a/pkg/sentry/kernel/shm/shm_state_autogen.go +++ b/pkg/sentry/kernel/shm/shm_state_autogen.go @@ -112,27 +112,27 @@ func (s *Shm) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(16, &s.pendingDestruction) } -func (s *ShmRefs) StateTypeName() string { +func (r *ShmRefs) StateTypeName() string { return "pkg/sentry/kernel/shm.ShmRefs" } -func (s *ShmRefs) StateFields() []string { +func (r *ShmRefs) StateFields() []string { return []string{ "refCount", } } -func (s *ShmRefs) beforeSave() {} +func (r *ShmRefs) beforeSave() {} -func (s *ShmRefs) StateSave(stateSinkObject state.Sink) { - s.beforeSave() - stateSinkObject.Save(0, &s.refCount) +func (r *ShmRefs) StateSave(stateSinkObject state.Sink) { + r.beforeSave() + stateSinkObject.Save(0, &r.refCount) } -func (s *ShmRefs) afterLoad() {} +func (r *ShmRefs) afterLoad() {} -func (s *ShmRefs) StateLoad(stateSourceObject state.Source) { - stateSourceObject.Load(0, &s.refCount) +func (r *ShmRefs) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &r.refCount) } func init() { |