diff options
Diffstat (limited to 'pkg/sentry/fs/sys')
-rw-r--r-- | pkg/sentry/fs/sys/sys_state_autogen.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/fs/sys/sys_state_autogen.go b/pkg/sentry/fs/sys/sys_state_autogen.go index 390f092cb..9c4f22243 100644 --- a/pkg/sentry/fs/sys/sys_state_autogen.go +++ b/pkg/sentry/fs/sys/sys_state_autogen.go @@ -19,6 +19,7 @@ func (c *cpunum) StateFields() []string { func (c *cpunum) beforeSave() {} +// +checklocksignore func (c *cpunum) StateSave(stateSinkObject state.Sink) { c.beforeSave() stateSinkObject.Save(0, &c.InodeSimpleAttributes) @@ -27,6 +28,7 @@ func (c *cpunum) StateSave(stateSinkObject state.Sink) { func (c *cpunum) afterLoad() {} +// +checklocksignore func (c *cpunum) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &c.InodeSimpleAttributes) stateSourceObject.Load(1, &c.InodeStaticFileGetter) @@ -42,12 +44,14 @@ func (f *filesystem) StateFields() []string { func (f *filesystem) beforeSave() {} +// +checklocksignore func (f *filesystem) StateSave(stateSinkObject state.Sink) { f.beforeSave() } func (f *filesystem) afterLoad() {} +// +checklocksignore func (f *filesystem) StateLoad(stateSourceObject state.Source) { } |