summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/loader
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-03-23 19:03:20 +0000
committergVisor bot <gvisor-bot@google.com>2021-03-23 19:03:20 +0000
commite48ad2ada0357cb8ee9185074aaff7ab44d84631 (patch)
treef8848b871cd5e3a0d07853083e024a231438085c /pkg/sentry/loader
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/loader')
-rw-r--r--pkg/sentry/loader/loader_state_autogen.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/loader/loader_state_autogen.go b/pkg/sentry/loader/loader_state_autogen.go
index 1ae4683c4..7d001c54b 100644
--- a/pkg/sentry/loader/loader_state_autogen.go
+++ b/pkg/sentry/loader/loader_state_autogen.go
@@ -22,6 +22,7 @@ func (v *VDSO) StateFields() []string {
func (v *VDSO) beforeSave() {}
+// +checklocksignore
func (v *VDSO) StateSave(stateSinkObject state.Sink) {
v.beforeSave()
var phdrsValue []elfProgHeader = v.savePhdrs()
@@ -34,6 +35,7 @@ func (v *VDSO) StateSave(stateSinkObject state.Sink) {
func (v *VDSO) afterLoad() {}
+// +checklocksignore
func (v *VDSO) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &v.ParamPage)
stateSourceObject.Load(1, &v.vdso)
@@ -61,6 +63,7 @@ func (e *elfProgHeader) StateFields() []string {
func (e *elfProgHeader) beforeSave() {}
+// +checklocksignore
func (e *elfProgHeader) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.Type)
@@ -75,6 +78,7 @@ func (e *elfProgHeader) StateSave(stateSinkObject state.Sink) {
func (e *elfProgHeader) afterLoad() {}
+// +checklocksignore
func (e *elfProgHeader) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.Type)
stateSourceObject.Load(1, &e.Flags)