summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fdpipe
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/fs/fdpipe
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/fs/fdpipe')
-rw-r--r--pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go b/pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go
index f946f2ba5..92dcd2391 100644
--- a/pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go
+++ b/pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go
@@ -19,6 +19,7 @@ func (p *pipeOperations) StateFields() []string {
}
}
+// +checklocksignore
func (p *pipeOperations) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
var flagsValue fs.FileFlags = p.saveFlags()
@@ -27,6 +28,7 @@ func (p *pipeOperations) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(2, &p.readAheadBuffer)
}
+// +checklocksignore
func (p *pipeOperations) StateLoad(stateSourceObject state.Source) {
stateSourceObject.LoadWait(1, &p.opener)
stateSourceObject.Load(2, &p.readAheadBuffer)