diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-08 01:32:17 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-08 01:32:17 +0000 |
commit | 8f70c8003e9d132fc766ed7d92ce805c093d518b (patch) | |
tree | 6d77a3246e3f04605790d410e7630cb910704ced /pkg/sentry/kernel/signalfd | |
parent | 8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff) | |
parent | a55bd73d4802112a7055de8663e947b9c0f42a2e (diff) |
Merge release-20200928.0-66-ga55bd73d4 (automated)
Diffstat (limited to 'pkg/sentry/kernel/signalfd')
-rw-r--r-- | pkg/sentry/kernel/signalfd/signalfd_state_autogen.go | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pkg/sentry/kernel/signalfd/signalfd_state_autogen.go b/pkg/sentry/kernel/signalfd/signalfd_state_autogen.go index 089a35b60..6c608aaa4 100644 --- a/pkg/sentry/kernel/signalfd/signalfd_state_autogen.go +++ b/pkg/sentry/kernel/signalfd/signalfd_state_autogen.go @@ -6,30 +6,30 @@ import ( "gvisor.dev/gvisor/pkg/state" ) -func (x *SignalOperations) StateTypeName() string { +func (s *SignalOperations) StateTypeName() string { return "pkg/sentry/kernel/signalfd.SignalOperations" } -func (x *SignalOperations) StateFields() []string { +func (s *SignalOperations) StateFields() []string { return []string{ "target", "mask", } } -func (x *SignalOperations) beforeSave() {} +func (s *SignalOperations) beforeSave() {} -func (x *SignalOperations) StateSave(m state.Sink) { - x.beforeSave() - m.Save(0, &x.target) - m.Save(1, &x.mask) +func (s *SignalOperations) StateSave(stateSinkObject state.Sink) { + s.beforeSave() + stateSinkObject.Save(0, &s.target) + stateSinkObject.Save(1, &s.mask) } -func (x *SignalOperations) afterLoad() {} +func (s *SignalOperations) afterLoad() {} -func (x *SignalOperations) StateLoad(m state.Source) { - m.Load(0, &x.target) - m.Load(1, &x.mask) +func (s *SignalOperations) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &s.target) + stateSourceObject.Load(1, &s.mask) } func init() { |