summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/tundev
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/devices/tundev')
-rw-r--r--pkg/sentry/devices/tundev/tundev_state_autogen.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/devices/tundev/tundev_state_autogen.go b/pkg/sentry/devices/tundev/tundev_state_autogen.go
index 343d5b8e7..ad7c7feb4 100644
--- a/pkg/sentry/devices/tundev/tundev_state_autogen.go
+++ b/pkg/sentry/devices/tundev/tundev_state_autogen.go
@@ -16,12 +16,14 @@ func (t *tunDevice) StateFields() []string {
func (t *tunDevice) beforeSave() {}
+// +checklocksignore
func (t *tunDevice) StateSave(stateSinkObject state.Sink) {
t.beforeSave()
}
func (t *tunDevice) afterLoad() {}
+// +checklocksignore
func (t *tunDevice) StateLoad(stateSourceObject state.Source) {
}
@@ -41,6 +43,7 @@ func (fd *tunFD) StateFields() []string {
func (fd *tunFD) beforeSave() {}
+// +checklocksignore
func (fd *tunFD) StateSave(stateSinkObject state.Sink) {
fd.beforeSave()
stateSinkObject.Save(0, &fd.vfsfd)
@@ -52,6 +55,7 @@ func (fd *tunFD) StateSave(stateSinkObject state.Sink) {
func (fd *tunFD) afterLoad() {}
+// +checklocksignore
func (fd *tunFD) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &fd.vfsfd)
stateSourceObject.Load(1, &fd.FileDescriptionDefaultImpl)