summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/proc/seqfile
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/proc/seqfile
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/fs/proc/seqfile')
-rw-r--r--pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go b/pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go
index ab08bbaa3..1cd9b313b 100644
--- a/pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go
+++ b/pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go
@@ -19,6 +19,7 @@ func (s *SeqData) StateFields() []string {
func (s *SeqData) beforeSave() {}
+// +checklocksignore
func (s *SeqData) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.Buf)
@@ -27,6 +28,7 @@ func (s *SeqData) StateSave(stateSinkObject state.Sink) {
func (s *SeqData) afterLoad() {}
+// +checklocksignore
func (s *SeqData) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.Buf)
stateSourceObject.Load(1, &s.Handle)
@@ -49,6 +51,7 @@ func (s *SeqFile) StateFields() []string {
func (s *SeqFile) beforeSave() {}
+// +checklocksignore
func (s *SeqFile) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.InodeSimpleExtendedAttributes)
@@ -61,6 +64,7 @@ func (s *SeqFile) StateSave(stateSinkObject state.Sink) {
func (s *SeqFile) afterLoad() {}
+// +checklocksignore
func (s *SeqFile) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.InodeSimpleExtendedAttributes)
stateSourceObject.Load(1, &s.InodeSimpleAttributes)
@@ -82,6 +86,7 @@ func (sfo *seqFileOperations) StateFields() []string {
func (sfo *seqFileOperations) beforeSave() {}
+// +checklocksignore
func (sfo *seqFileOperations) StateSave(stateSinkObject state.Sink) {
sfo.beforeSave()
stateSinkObject.Save(0, &sfo.seqFile)
@@ -89,6 +94,7 @@ func (sfo *seqFileOperations) StateSave(stateSinkObject state.Sink) {
func (sfo *seqFileOperations) afterLoad() {}
+// +checklocksignore
func (sfo *seqFileOperations) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &sfo.seqFile)
}