summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/pipe
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/kernel/pipe
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/kernel/pipe')
-rw-r--r--pkg/sentry/kernel/pipe/pipe_state_autogen.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/sentry/kernel/pipe/pipe_state_autogen.go b/pkg/sentry/kernel/pipe/pipe_state_autogen.go
index 031ea2cc2..9188cef94 100644
--- a/pkg/sentry/kernel/pipe/pipe_state_autogen.go
+++ b/pkg/sentry/kernel/pipe/pipe_state_autogen.go
@@ -96,27 +96,27 @@ func (r *Reader) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &r.ReaderWriter)
}
-func (r *ReaderWriter) StateTypeName() string {
+func (rw *ReaderWriter) StateTypeName() string {
return "pkg/sentry/kernel/pipe.ReaderWriter"
}
-func (r *ReaderWriter) StateFields() []string {
+func (rw *ReaderWriter) StateFields() []string {
return []string{
"Pipe",
}
}
-func (r *ReaderWriter) beforeSave() {}
+func (rw *ReaderWriter) beforeSave() {}
-func (r *ReaderWriter) StateSave(stateSinkObject state.Sink) {
- r.beforeSave()
- stateSinkObject.Save(0, &r.Pipe)
+func (rw *ReaderWriter) StateSave(stateSinkObject state.Sink) {
+ rw.beforeSave()
+ stateSinkObject.Save(0, &rw.Pipe)
}
-func (r *ReaderWriter) afterLoad() {}
+func (rw *ReaderWriter) afterLoad() {}
-func (r *ReaderWriter) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &r.Pipe)
+func (rw *ReaderWriter) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &rw.Pipe)
}
func (w *Writer) StateTypeName() string {