summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket
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/socket
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r--pkg/sentry/socket/control/control_state_autogen.go2
-rw-r--r--pkg/sentry/socket/hostinet/hostinet_state_autogen.go4
-rw-r--r--pkg/sentry/socket/netlink/netlink_state_autogen.go8
-rw-r--r--pkg/sentry/socket/netlink/port/port_state_autogen.go2
-rw-r--r--pkg/sentry/socket/netlink/route/route_state_autogen.go2
-rw-r--r--pkg/sentry/socket/netlink/uevent/uevent_state_autogen.go2
-rw-r--r--pkg/sentry/socket/netstack/netstack_state_autogen.go8
-rw-r--r--pkg/sentry/socket/socket_state_autogen.go4
-rw-r--r--pkg/sentry/socket/unix/transport/transport_state_autogen.go24
-rw-r--r--pkg/sentry/socket/unix/unix_state_autogen.go10
10 files changed, 66 insertions, 0 deletions
diff --git a/pkg/sentry/socket/control/control_state_autogen.go b/pkg/sentry/socket/control/control_state_autogen.go
index 0f567afd4..412025601 100644
--- a/pkg/sentry/socket/control/control_state_autogen.go
+++ b/pkg/sentry/socket/control/control_state_autogen.go
@@ -28,6 +28,7 @@ func (c *scmCredentials) StateFields() []string {
func (c *scmCredentials) beforeSave() {}
+// +checklocksignore
func (c *scmCredentials) StateSave(stateSinkObject state.Sink) {
c.beforeSave()
stateSinkObject.Save(0, &c.t)
@@ -37,6 +38,7 @@ func (c *scmCredentials) StateSave(stateSinkObject state.Sink) {
func (c *scmCredentials) afterLoad() {}
+// +checklocksignore
func (c *scmCredentials) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &c.t)
stateSourceObject.Load(1, &c.kuid)
diff --git a/pkg/sentry/socket/hostinet/hostinet_state_autogen.go b/pkg/sentry/socket/hostinet/hostinet_state_autogen.go
index a229dcec5..519c65339 100644
--- a/pkg/sentry/socket/hostinet/hostinet_state_autogen.go
+++ b/pkg/sentry/socket/hostinet/hostinet_state_autogen.go
@@ -23,6 +23,7 @@ func (s *socketOpsCommon) StateFields() []string {
func (s *socketOpsCommon) beforeSave() {}
+// +checklocksignore
func (s *socketOpsCommon) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.SendReceiveTimeout)
@@ -35,6 +36,7 @@ func (s *socketOpsCommon) StateSave(stateSinkObject state.Sink) {
func (s *socketOpsCommon) afterLoad() {}
+// +checklocksignore
func (s *socketOpsCommon) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.SendReceiveTimeout)
stateSourceObject.Load(1, &s.family)
@@ -60,6 +62,7 @@ func (s *socketVFS2) StateFields() []string {
func (s *socketVFS2) beforeSave() {}
+// +checklocksignore
func (s *socketVFS2) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.vfsfd)
@@ -71,6 +74,7 @@ func (s *socketVFS2) StateSave(stateSinkObject state.Sink) {
func (s *socketVFS2) afterLoad() {}
+// +checklocksignore
func (s *socketVFS2) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.vfsfd)
stateSourceObject.Load(1, &s.FileDescriptionDefaultImpl)
diff --git a/pkg/sentry/socket/netlink/netlink_state_autogen.go b/pkg/sentry/socket/netlink/netlink_state_autogen.go
index 307498c1c..29c549880 100644
--- a/pkg/sentry/socket/netlink/netlink_state_autogen.go
+++ b/pkg/sentry/socket/netlink/netlink_state_autogen.go
@@ -18,6 +18,7 @@ func (s *Socket) StateFields() []string {
func (s *Socket) beforeSave() {}
+// +checklocksignore
func (s *Socket) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.socketOpsCommon)
@@ -25,6 +26,7 @@ func (s *Socket) StateSave(stateSinkObject state.Sink) {
func (s *Socket) afterLoad() {}
+// +checklocksignore
func (s *Socket) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.socketOpsCommon)
}
@@ -50,6 +52,7 @@ func (s *socketOpsCommon) StateFields() []string {
func (s *socketOpsCommon) beforeSave() {}
+// +checklocksignore
func (s *socketOpsCommon) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.SendReceiveTimeout)
@@ -66,6 +69,7 @@ func (s *socketOpsCommon) StateSave(stateSinkObject state.Sink) {
func (s *socketOpsCommon) afterLoad() {}
+// +checklocksignore
func (s *socketOpsCommon) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.SendReceiveTimeout)
stateSourceObject.Load(1, &s.ports)
@@ -89,12 +93,14 @@ func (k *kernelSCM) StateFields() []string {
func (k *kernelSCM) beforeSave() {}
+// +checklocksignore
func (k *kernelSCM) StateSave(stateSinkObject state.Sink) {
k.beforeSave()
}
func (k *kernelSCM) afterLoad() {}
+// +checklocksignore
func (k *kernelSCM) StateLoad(stateSourceObject state.Source) {
}
@@ -114,6 +120,7 @@ func (s *SocketVFS2) StateFields() []string {
func (s *SocketVFS2) beforeSave() {}
+// +checklocksignore
func (s *SocketVFS2) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.vfsfd)
@@ -125,6 +132,7 @@ func (s *SocketVFS2) StateSave(stateSinkObject state.Sink) {
func (s *SocketVFS2) afterLoad() {}
+// +checklocksignore
func (s *SocketVFS2) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.vfsfd)
stateSourceObject.Load(1, &s.FileDescriptionDefaultImpl)
diff --git a/pkg/sentry/socket/netlink/port/port_state_autogen.go b/pkg/sentry/socket/netlink/port/port_state_autogen.go
index e0083fcad..b22471899 100644
--- a/pkg/sentry/socket/netlink/port/port_state_autogen.go
+++ b/pkg/sentry/socket/netlink/port/port_state_autogen.go
@@ -18,6 +18,7 @@ func (m *Manager) StateFields() []string {
func (m *Manager) beforeSave() {}
+// +checklocksignore
func (m *Manager) StateSave(stateSinkObject state.Sink) {
m.beforeSave()
stateSinkObject.Save(0, &m.ports)
@@ -25,6 +26,7 @@ func (m *Manager) StateSave(stateSinkObject state.Sink) {
func (m *Manager) afterLoad() {}
+// +checklocksignore
func (m *Manager) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &m.ports)
}
diff --git a/pkg/sentry/socket/netlink/route/route_state_autogen.go b/pkg/sentry/socket/netlink/route/route_state_autogen.go
index 0b263b5b1..c4a94ab49 100644
--- a/pkg/sentry/socket/netlink/route/route_state_autogen.go
+++ b/pkg/sentry/socket/netlink/route/route_state_autogen.go
@@ -16,12 +16,14 @@ func (p *Protocol) StateFields() []string {
func (p *Protocol) beforeSave() {}
+// +checklocksignore
func (p *Protocol) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
}
func (p *Protocol) afterLoad() {}
+// +checklocksignore
func (p *Protocol) StateLoad(stateSourceObject state.Source) {
}
diff --git a/pkg/sentry/socket/netlink/uevent/uevent_state_autogen.go b/pkg/sentry/socket/netlink/uevent/uevent_state_autogen.go
index 63f488594..f45d63d9a 100644
--- a/pkg/sentry/socket/netlink/uevent/uevent_state_autogen.go
+++ b/pkg/sentry/socket/netlink/uevent/uevent_state_autogen.go
@@ -16,12 +16,14 @@ func (p *Protocol) StateFields() []string {
func (p *Protocol) beforeSave() {}
+// +checklocksignore
func (p *Protocol) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
}
func (p *Protocol) afterLoad() {}
+// +checklocksignore
func (p *Protocol) StateLoad(stateSourceObject state.Source) {
}
diff --git a/pkg/sentry/socket/netstack/netstack_state_autogen.go b/pkg/sentry/socket/netstack/netstack_state_autogen.go
index ec15d5643..335437f04 100644
--- a/pkg/sentry/socket/netstack/netstack_state_autogen.go
+++ b/pkg/sentry/socket/netstack/netstack_state_autogen.go
@@ -18,6 +18,7 @@ func (s *SocketOperations) StateFields() []string {
func (s *SocketOperations) beforeSave() {}
+// +checklocksignore
func (s *SocketOperations) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.socketOpsCommon)
@@ -25,6 +26,7 @@ func (s *SocketOperations) StateSave(stateSinkObject state.Sink) {
func (s *SocketOperations) afterLoad() {}
+// +checklocksignore
func (s *SocketOperations) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.socketOpsCommon)
}
@@ -50,6 +52,7 @@ func (s *socketOpsCommon) StateFields() []string {
func (s *socketOpsCommon) beforeSave() {}
+// +checklocksignore
func (s *socketOpsCommon) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.SendReceiveTimeout)
@@ -66,6 +69,7 @@ func (s *socketOpsCommon) StateSave(stateSinkObject state.Sink) {
func (s *socketOpsCommon) afterLoad() {}
+// +checklocksignore
func (s *socketOpsCommon) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.SendReceiveTimeout)
stateSourceObject.Load(1, &s.Queue)
@@ -95,6 +99,7 @@ func (s *SocketVFS2) StateFields() []string {
func (s *SocketVFS2) beforeSave() {}
+// +checklocksignore
func (s *SocketVFS2) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.vfsfd)
@@ -106,6 +111,7 @@ func (s *SocketVFS2) StateSave(stateSinkObject state.Sink) {
func (s *SocketVFS2) afterLoad() {}
+// +checklocksignore
func (s *SocketVFS2) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.vfsfd)
stateSourceObject.Load(1, &s.FileDescriptionDefaultImpl)
@@ -124,10 +130,12 @@ func (s *Stack) StateFields() []string {
func (s *Stack) beforeSave() {}
+// +checklocksignore
func (s *Stack) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
}
+// +checklocksignore
func (s *Stack) StateLoad(stateSourceObject state.Source) {
stateSourceObject.AfterLoad(s.afterLoad)
}
diff --git a/pkg/sentry/socket/socket_state_autogen.go b/pkg/sentry/socket/socket_state_autogen.go
index 970698808..d050093f6 100644
--- a/pkg/sentry/socket/socket_state_autogen.go
+++ b/pkg/sentry/socket/socket_state_autogen.go
@@ -29,6 +29,7 @@ func (i *IPControlMessages) StateFields() []string {
func (i *IPControlMessages) beforeSave() {}
+// +checklocksignore
func (i *IPControlMessages) StateSave(stateSinkObject state.Sink) {
i.beforeSave()
stateSinkObject.Save(0, &i.HasTimestamp)
@@ -47,6 +48,7 @@ func (i *IPControlMessages) StateSave(stateSinkObject state.Sink) {
func (i *IPControlMessages) afterLoad() {}
+// +checklocksignore
func (i *IPControlMessages) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &i.HasTimestamp)
stateSourceObject.Load(1, &i.Timestamp)
@@ -75,6 +77,7 @@ func (to *SendReceiveTimeout) StateFields() []string {
func (to *SendReceiveTimeout) beforeSave() {}
+// +checklocksignore
func (to *SendReceiveTimeout) StateSave(stateSinkObject state.Sink) {
to.beforeSave()
stateSinkObject.Save(0, &to.send)
@@ -83,6 +86,7 @@ func (to *SendReceiveTimeout) StateSave(stateSinkObject state.Sink) {
func (to *SendReceiveTimeout) afterLoad() {}
+// +checklocksignore
func (to *SendReceiveTimeout) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &to.send)
stateSourceObject.Load(1, &to.recv)
diff --git a/pkg/sentry/socket/unix/transport/transport_state_autogen.go b/pkg/sentry/socket/unix/transport/transport_state_autogen.go
index ab00f8858..946b0032e 100644
--- a/pkg/sentry/socket/unix/transport/transport_state_autogen.go
+++ b/pkg/sentry/socket/unix/transport/transport_state_autogen.go
@@ -22,6 +22,7 @@ func (e *connectionedEndpoint) StateFields() []string {
func (e *connectionedEndpoint) beforeSave() {}
+// +checklocksignore
func (e *connectionedEndpoint) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
var acceptedChanValue []*connectionedEndpoint = e.saveAcceptedChan()
@@ -32,6 +33,7 @@ func (e *connectionedEndpoint) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(3, &e.stype)
}
+// +checklocksignore
func (e *connectionedEndpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.baseEndpoint)
stateSourceObject.Load(1, &e.id)
@@ -53,11 +55,13 @@ func (e *connectionlessEndpoint) StateFields() []string {
func (e *connectionlessEndpoint) beforeSave() {}
+// +checklocksignore
func (e *connectionlessEndpoint) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.baseEndpoint)
}
+// +checklocksignore
func (e *connectionlessEndpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.baseEndpoint)
stateSourceObject.AfterLoad(e.afterLoad)
@@ -82,6 +86,7 @@ func (q *queue) StateFields() []string {
func (q *queue) beforeSave() {}
+// +checklocksignore
func (q *queue) StateSave(stateSinkObject state.Sink) {
q.beforeSave()
stateSinkObject.Save(0, &q.queueRefs)
@@ -96,6 +101,7 @@ func (q *queue) StateSave(stateSinkObject state.Sink) {
func (q *queue) afterLoad() {}
+// +checklocksignore
func (q *queue) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &q.queueRefs)
stateSourceObject.Load(1, &q.ReaderQueue)
@@ -119,11 +125,13 @@ func (r *queueRefs) StateFields() []string {
func (r *queueRefs) beforeSave() {}
+// +checklocksignore
func (r *queueRefs) StateSave(stateSinkObject state.Sink) {
r.beforeSave()
stateSinkObject.Save(0, &r.refCount)
}
+// +checklocksignore
func (r *queueRefs) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &r.refCount)
stateSourceObject.AfterLoad(r.afterLoad)
@@ -142,6 +150,7 @@ func (l *messageList) StateFields() []string {
func (l *messageList) beforeSave() {}
+// +checklocksignore
func (l *messageList) StateSave(stateSinkObject state.Sink) {
l.beforeSave()
stateSinkObject.Save(0, &l.head)
@@ -150,6 +159,7 @@ func (l *messageList) StateSave(stateSinkObject state.Sink) {
func (l *messageList) afterLoad() {}
+// +checklocksignore
func (l *messageList) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &l.head)
stateSourceObject.Load(1, &l.tail)
@@ -168,6 +178,7 @@ func (e *messageEntry) StateFields() []string {
func (e *messageEntry) beforeSave() {}
+// +checklocksignore
func (e *messageEntry) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.next)
@@ -176,6 +187,7 @@ func (e *messageEntry) StateSave(stateSinkObject state.Sink) {
func (e *messageEntry) afterLoad() {}
+// +checklocksignore
func (e *messageEntry) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.next)
stateSourceObject.Load(1, &e.prev)
@@ -194,6 +206,7 @@ func (c *ControlMessages) StateFields() []string {
func (c *ControlMessages) beforeSave() {}
+// +checklocksignore
func (c *ControlMessages) StateSave(stateSinkObject state.Sink) {
c.beforeSave()
stateSinkObject.Save(0, &c.Rights)
@@ -202,6 +215,7 @@ func (c *ControlMessages) StateSave(stateSinkObject state.Sink) {
func (c *ControlMessages) afterLoad() {}
+// +checklocksignore
func (c *ControlMessages) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &c.Rights)
stateSourceObject.Load(1, &c.Credentials)
@@ -222,6 +236,7 @@ func (m *message) StateFields() []string {
func (m *message) beforeSave() {}
+// +checklocksignore
func (m *message) StateSave(stateSinkObject state.Sink) {
m.beforeSave()
stateSinkObject.Save(0, &m.messageEntry)
@@ -232,6 +247,7 @@ func (m *message) StateSave(stateSinkObject state.Sink) {
func (m *message) afterLoad() {}
+// +checklocksignore
func (m *message) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &m.messageEntry)
stateSourceObject.Load(1, &m.Data)
@@ -251,6 +267,7 @@ func (q *queueReceiver) StateFields() []string {
func (q *queueReceiver) beforeSave() {}
+// +checklocksignore
func (q *queueReceiver) StateSave(stateSinkObject state.Sink) {
q.beforeSave()
stateSinkObject.Save(0, &q.readQueue)
@@ -258,6 +275,7 @@ func (q *queueReceiver) StateSave(stateSinkObject state.Sink) {
func (q *queueReceiver) afterLoad() {}
+// +checklocksignore
func (q *queueReceiver) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &q.readQueue)
}
@@ -277,6 +295,7 @@ func (q *streamQueueReceiver) StateFields() []string {
func (q *streamQueueReceiver) beforeSave() {}
+// +checklocksignore
func (q *streamQueueReceiver) StateSave(stateSinkObject state.Sink) {
q.beforeSave()
stateSinkObject.Save(0, &q.queueReceiver)
@@ -287,6 +306,7 @@ func (q *streamQueueReceiver) StateSave(stateSinkObject state.Sink) {
func (q *streamQueueReceiver) afterLoad() {}
+// +checklocksignore
func (q *streamQueueReceiver) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &q.queueReceiver)
stateSourceObject.Load(1, &q.buffer)
@@ -307,6 +327,7 @@ func (e *connectedEndpoint) StateFields() []string {
func (e *connectedEndpoint) beforeSave() {}
+// +checklocksignore
func (e *connectedEndpoint) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.endpoint)
@@ -315,6 +336,7 @@ func (e *connectedEndpoint) StateSave(stateSinkObject state.Sink) {
func (e *connectedEndpoint) afterLoad() {}
+// +checklocksignore
func (e *connectedEndpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.endpoint)
stateSourceObject.Load(1, &e.writeQueue)
@@ -337,6 +359,7 @@ func (e *baseEndpoint) StateFields() []string {
func (e *baseEndpoint) beforeSave() {}
+// +checklocksignore
func (e *baseEndpoint) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.Queue)
@@ -349,6 +372,7 @@ func (e *baseEndpoint) StateSave(stateSinkObject state.Sink) {
func (e *baseEndpoint) afterLoad() {}
+// +checklocksignore
func (e *baseEndpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.Queue)
stateSourceObject.Load(1, &e.DefaultSocketOptionsHandler)
diff --git a/pkg/sentry/socket/unix/unix_state_autogen.go b/pkg/sentry/socket/unix/unix_state_autogen.go
index fba990d9a..e6169dfad 100644
--- a/pkg/sentry/socket/unix/unix_state_autogen.go
+++ b/pkg/sentry/socket/unix/unix_state_autogen.go
@@ -18,11 +18,13 @@ func (r *socketOperationsRefs) StateFields() []string {
func (r *socketOperationsRefs) beforeSave() {}
+// +checklocksignore
func (r *socketOperationsRefs) StateSave(stateSinkObject state.Sink) {
r.beforeSave()
stateSinkObject.Save(0, &r.refCount)
}
+// +checklocksignore
func (r *socketOperationsRefs) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &r.refCount)
stateSourceObject.AfterLoad(r.afterLoad)
@@ -40,11 +42,13 @@ func (r *socketVFS2Refs) StateFields() []string {
func (r *socketVFS2Refs) beforeSave() {}
+// +checklocksignore
func (r *socketVFS2Refs) StateSave(stateSinkObject state.Sink) {
r.beforeSave()
stateSinkObject.Save(0, &r.refCount)
}
+// +checklocksignore
func (r *socketVFS2Refs) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &r.refCount)
stateSourceObject.AfterLoad(r.afterLoad)
@@ -63,6 +67,7 @@ func (s *SocketOperations) StateFields() []string {
func (s *SocketOperations) beforeSave() {}
+// +checklocksignore
func (s *SocketOperations) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.socketOperationsRefs)
@@ -71,6 +76,7 @@ func (s *SocketOperations) StateSave(stateSinkObject state.Sink) {
func (s *SocketOperations) afterLoad() {}
+// +checklocksignore
func (s *SocketOperations) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.socketOperationsRefs)
stateSourceObject.Load(1, &s.socketOpsCommon)
@@ -92,6 +98,7 @@ func (s *socketOpsCommon) StateFields() []string {
func (s *socketOpsCommon) beforeSave() {}
+// +checklocksignore
func (s *socketOpsCommon) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.SendReceiveTimeout)
@@ -103,6 +110,7 @@ func (s *socketOpsCommon) StateSave(stateSinkObject state.Sink) {
func (s *socketOpsCommon) afterLoad() {}
+// +checklocksignore
func (s *socketOpsCommon) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.SendReceiveTimeout)
stateSourceObject.Load(1, &s.ep)
@@ -128,6 +136,7 @@ func (s *SocketVFS2) StateFields() []string {
func (s *SocketVFS2) beforeSave() {}
+// +checklocksignore
func (s *SocketVFS2) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.vfsfd)
@@ -140,6 +149,7 @@ func (s *SocketVFS2) StateSave(stateSinkObject state.Sink) {
func (s *SocketVFS2) afterLoad() {}
+// +checklocksignore
func (s *SocketVFS2) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.vfsfd)
stateSourceObject.Load(1, &s.FileDescriptionDefaultImpl)