summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/ttydev
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/devices/ttydev
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/devices/ttydev')
-rw-r--r--pkg/sentry/devices/ttydev/ttydev_state_autogen.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/devices/ttydev/ttydev_state_autogen.go b/pkg/sentry/devices/ttydev/ttydev_state_autogen.go
index 3389b37f3..88a1cd0a6 100644
--- a/pkg/sentry/devices/ttydev/ttydev_state_autogen.go
+++ b/pkg/sentry/devices/ttydev/ttydev_state_autogen.go
@@ -16,12 +16,14 @@ func (t *ttyDevice) StateFields() []string {
func (t *ttyDevice) beforeSave() {}
+// +checklocksignore
func (t *ttyDevice) StateSave(stateSinkObject state.Sink) {
t.beforeSave()
}
func (t *ttyDevice) afterLoad() {}
+// +checklocksignore
func (t *ttyDevice) StateLoad(stateSourceObject state.Source) {
}