summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/control
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
commit69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch)
tree9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/sentry/socket/control
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/socket/control')
-rw-r--r--pkg/sentry/socket/control/control_state_autogen.go30
1 files changed, 15 insertions, 15 deletions
diff --git a/pkg/sentry/socket/control/control_state_autogen.go b/pkg/sentry/socket/control/control_state_autogen.go
index 98cd79747..602dd37e2 100644
--- a/pkg/sentry/socket/control/control_state_autogen.go
+++ b/pkg/sentry/socket/control/control_state_autogen.go
@@ -6,19 +6,19 @@ import (
"gvisor.dev/gvisor/pkg/state"
)
-func (r *RightsFiles) StateTypeName() string {
+func (fs *RightsFiles) StateTypeName() string {
return "pkg/sentry/socket/control.RightsFiles"
}
-func (r *RightsFiles) StateFields() []string {
+func (fs *RightsFiles) StateFields() []string {
return nil
}
-func (s *scmCredentials) StateTypeName() string {
+func (c *scmCredentials) StateTypeName() string {
return "pkg/sentry/socket/control.scmCredentials"
}
-func (s *scmCredentials) StateFields() []string {
+func (c *scmCredentials) StateFields() []string {
return []string{
"t",
"kuid",
@@ -26,21 +26,21 @@ func (s *scmCredentials) StateFields() []string {
}
}
-func (s *scmCredentials) beforeSave() {}
+func (c *scmCredentials) beforeSave() {}
-func (s *scmCredentials) StateSave(stateSinkObject state.Sink) {
- s.beforeSave()
- stateSinkObject.Save(0, &s.t)
- stateSinkObject.Save(1, &s.kuid)
- stateSinkObject.Save(2, &s.kgid)
+func (c *scmCredentials) StateSave(stateSinkObject state.Sink) {
+ c.beforeSave()
+ stateSinkObject.Save(0, &c.t)
+ stateSinkObject.Save(1, &c.kuid)
+ stateSinkObject.Save(2, &c.kgid)
}
-func (s *scmCredentials) afterLoad() {}
+func (c *scmCredentials) afterLoad() {}
-func (s *scmCredentials) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &s.t)
- stateSourceObject.Load(1, &s.kuid)
- stateSourceObject.Load(2, &s.kgid)
+func (c *scmCredentials) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &c.t)
+ stateSourceObject.Load(1, &c.kuid)
+ stateSourceObject.Load(2, &c.kgid)
}
func init() {