summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/signalfd
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/fsimpl/signalfd
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/signalfd')
-rw-r--r--pkg/sentry/fsimpl/signalfd/signalfd_state_autogen.go38
1 files changed, 19 insertions, 19 deletions
diff --git a/pkg/sentry/fsimpl/signalfd/signalfd_state_autogen.go b/pkg/sentry/fsimpl/signalfd/signalfd_state_autogen.go
index 4a1496528..b3596a886 100644
--- a/pkg/sentry/fsimpl/signalfd/signalfd_state_autogen.go
+++ b/pkg/sentry/fsimpl/signalfd/signalfd_state_autogen.go
@@ -6,11 +6,11 @@ import (
"gvisor.dev/gvisor/pkg/state"
)
-func (s *SignalFileDescription) StateTypeName() string {
+func (sfd *SignalFileDescription) StateTypeName() string {
return "pkg/sentry/fsimpl/signalfd.SignalFileDescription"
}
-func (s *SignalFileDescription) StateFields() []string {
+func (sfd *SignalFileDescription) StateFields() []string {
return []string{
"vfsfd",
"FileDescriptionDefaultImpl",
@@ -21,27 +21,27 @@ func (s *SignalFileDescription) StateFields() []string {
}
}
-func (s *SignalFileDescription) beforeSave() {}
+func (sfd *SignalFileDescription) beforeSave() {}
-func (s *SignalFileDescription) StateSave(stateSinkObject state.Sink) {
- s.beforeSave()
- stateSinkObject.Save(0, &s.vfsfd)
- stateSinkObject.Save(1, &s.FileDescriptionDefaultImpl)
- stateSinkObject.Save(2, &s.DentryMetadataFileDescriptionImpl)
- stateSinkObject.Save(3, &s.NoLockFD)
- stateSinkObject.Save(4, &s.target)
- stateSinkObject.Save(5, &s.mask)
+func (sfd *SignalFileDescription) StateSave(stateSinkObject state.Sink) {
+ sfd.beforeSave()
+ stateSinkObject.Save(0, &sfd.vfsfd)
+ stateSinkObject.Save(1, &sfd.FileDescriptionDefaultImpl)
+ stateSinkObject.Save(2, &sfd.DentryMetadataFileDescriptionImpl)
+ stateSinkObject.Save(3, &sfd.NoLockFD)
+ stateSinkObject.Save(4, &sfd.target)
+ stateSinkObject.Save(5, &sfd.mask)
}
-func (s *SignalFileDescription) afterLoad() {}
+func (sfd *SignalFileDescription) afterLoad() {}
-func (s *SignalFileDescription) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &s.vfsfd)
- stateSourceObject.Load(1, &s.FileDescriptionDefaultImpl)
- stateSourceObject.Load(2, &s.DentryMetadataFileDescriptionImpl)
- stateSourceObject.Load(3, &s.NoLockFD)
- stateSourceObject.Load(4, &s.target)
- stateSourceObject.Load(5, &s.mask)
+func (sfd *SignalFileDescription) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &sfd.vfsfd)
+ stateSourceObject.Load(1, &sfd.FileDescriptionDefaultImpl)
+ stateSourceObject.Load(2, &sfd.DentryMetadataFileDescriptionImpl)
+ stateSourceObject.Load(3, &sfd.NoLockFD)
+ stateSourceObject.Load(4, &sfd.target)
+ stateSourceObject.Load(5, &sfd.mask)
}
func init() {