summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/control
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-08 01:32:17 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-08 01:32:17 +0000
commit8f70c8003e9d132fc766ed7d92ce805c093d518b (patch)
tree6d77a3246e3f04605790d410e7630cb910704ced /pkg/sentry/socket/control
parent8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff)
parenta55bd73d4802112a7055de8663e947b9c0f42a2e (diff)
Merge release-20200928.0-66-ga55bd73d4 (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 f3adf8927..98cd79747 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 (x *RightsFiles) StateTypeName() string {
+func (r *RightsFiles) StateTypeName() string {
return "pkg/sentry/socket/control.RightsFiles"
}
-func (x *RightsFiles) StateFields() []string {
+func (r *RightsFiles) StateFields() []string {
return nil
}
-func (x *scmCredentials) StateTypeName() string {
+func (s *scmCredentials) StateTypeName() string {
return "pkg/sentry/socket/control.scmCredentials"
}
-func (x *scmCredentials) StateFields() []string {
+func (s *scmCredentials) StateFields() []string {
return []string{
"t",
"kuid",
@@ -26,21 +26,21 @@ func (x *scmCredentials) StateFields() []string {
}
}
-func (x *scmCredentials) beforeSave() {}
+func (s *scmCredentials) beforeSave() {}
-func (x *scmCredentials) StateSave(m state.Sink) {
- x.beforeSave()
- m.Save(0, &x.t)
- m.Save(1, &x.kuid)
- m.Save(2, &x.kgid)
+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 (x *scmCredentials) afterLoad() {}
+func (s *scmCredentials) afterLoad() {}
-func (x *scmCredentials) StateLoad(m state.Source) {
- m.Load(0, &x.t)
- m.Load(1, &x.kuid)
- m.Load(2, &x.kgid)
+func (s *scmCredentials) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &s.t)
+ stateSourceObject.Load(1, &s.kuid)
+ stateSourceObject.Load(2, &s.kgid)
}
func init() {