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/syscalls | |
parent | 0fea1c57d9bc63416cc366720b2f53139468352f (diff) | |
parent | acb4c62885629d6d3ee977b93c27282abed0b33f (diff) |
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/syscalls')
-rw-r--r-- | pkg/sentry/syscalls/linux/linux_state_autogen.go | 6 | ||||
-rw-r--r-- | pkg/sentry/syscalls/linux/vfs2/vfs2_state_autogen.go | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/pkg/sentry/syscalls/linux/linux_state_autogen.go b/pkg/sentry/syscalls/linux/linux_state_autogen.go index 8ae8de973..1f55db893 100644 --- a/pkg/sentry/syscalls/linux/linux_state_autogen.go +++ b/pkg/sentry/syscalls/linux/linux_state_autogen.go @@ -22,6 +22,7 @@ func (f *futexWaitRestartBlock) StateFields() []string { func (f *futexWaitRestartBlock) beforeSave() {} +// +checklocksignore func (f *futexWaitRestartBlock) StateSave(stateSinkObject state.Sink) { f.beforeSave() stateSinkObject.Save(0, &f.duration) @@ -33,6 +34,7 @@ func (f *futexWaitRestartBlock) StateSave(stateSinkObject state.Sink) { func (f *futexWaitRestartBlock) afterLoad() {} +// +checklocksignore func (f *futexWaitRestartBlock) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &f.duration) stateSourceObject.Load(1, &f.addr) @@ -55,6 +57,7 @@ func (p *pollRestartBlock) StateFields() []string { func (p *pollRestartBlock) beforeSave() {} +// +checklocksignore func (p *pollRestartBlock) StateSave(stateSinkObject state.Sink) { p.beforeSave() stateSinkObject.Save(0, &p.pfdAddr) @@ -64,6 +67,7 @@ func (p *pollRestartBlock) StateSave(stateSinkObject state.Sink) { func (p *pollRestartBlock) afterLoad() {} +// +checklocksignore func (p *pollRestartBlock) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &p.pfdAddr) stateSourceObject.Load(1, &p.nfds) @@ -84,6 +88,7 @@ func (n *clockNanosleepRestartBlock) StateFields() []string { func (n *clockNanosleepRestartBlock) beforeSave() {} +// +checklocksignore func (n *clockNanosleepRestartBlock) StateSave(stateSinkObject state.Sink) { n.beforeSave() stateSinkObject.Save(0, &n.c) @@ -93,6 +98,7 @@ func (n *clockNanosleepRestartBlock) StateSave(stateSinkObject state.Sink) { func (n *clockNanosleepRestartBlock) afterLoad() {} +// +checklocksignore func (n *clockNanosleepRestartBlock) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &n.c) stateSourceObject.Load(1, &n.duration) diff --git a/pkg/sentry/syscalls/linux/vfs2/vfs2_state_autogen.go b/pkg/sentry/syscalls/linux/vfs2/vfs2_state_autogen.go index 11d1bcc43..d02c8467f 100644 --- a/pkg/sentry/syscalls/linux/vfs2/vfs2_state_autogen.go +++ b/pkg/sentry/syscalls/linux/vfs2/vfs2_state_autogen.go @@ -20,6 +20,7 @@ func (p *pollRestartBlock) StateFields() []string { func (p *pollRestartBlock) beforeSave() {} +// +checklocksignore func (p *pollRestartBlock) StateSave(stateSinkObject state.Sink) { p.beforeSave() stateSinkObject.Save(0, &p.pfdAddr) @@ -29,6 +30,7 @@ func (p *pollRestartBlock) StateSave(stateSinkObject state.Sink) { func (p *pollRestartBlock) afterLoad() {} +// +checklocksignore func (p *pollRestartBlock) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &p.pfdAddr) stateSourceObject.Load(1, &p.nfds) |