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/limits | |
parent | 0fea1c57d9bc63416cc366720b2f53139468352f (diff) | |
parent | acb4c62885629d6d3ee977b93c27282abed0b33f (diff) |
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/limits')
-rw-r--r-- | pkg/sentry/limits/limits_state_autogen.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/limits/limits_state_autogen.go b/pkg/sentry/limits/limits_state_autogen.go index d619cabd4..038124f76 100644 --- a/pkg/sentry/limits/limits_state_autogen.go +++ b/pkg/sentry/limits/limits_state_autogen.go @@ -19,6 +19,7 @@ func (l *Limit) StateFields() []string { func (l *Limit) beforeSave() {} +// +checklocksignore func (l *Limit) StateSave(stateSinkObject state.Sink) { l.beforeSave() stateSinkObject.Save(0, &l.Cur) @@ -27,6 +28,7 @@ func (l *Limit) StateSave(stateSinkObject state.Sink) { func (l *Limit) afterLoad() {} +// +checklocksignore func (l *Limit) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &l.Cur) stateSourceObject.Load(1, &l.Max) @@ -44,6 +46,7 @@ func (l *LimitSet) StateFields() []string { func (l *LimitSet) beforeSave() {} +// +checklocksignore func (l *LimitSet) StateSave(stateSinkObject state.Sink) { l.beforeSave() stateSinkObject.Save(0, &l.data) @@ -51,6 +54,7 @@ func (l *LimitSet) StateSave(stateSinkObject state.Sink) { func (l *LimitSet) afterLoad() {} +// +checklocksignore func (l *LimitSet) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &l.data) } |