summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux
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/syscalls/linux
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux')
-rw-r--r--pkg/sentry/syscalls/linux/linux_state_autogen.go26
1 files changed, 13 insertions, 13 deletions
diff --git a/pkg/sentry/syscalls/linux/linux_state_autogen.go b/pkg/sentry/syscalls/linux/linux_state_autogen.go
index 0ad0d2177..8ae8de973 100644
--- a/pkg/sentry/syscalls/linux/linux_state_autogen.go
+++ b/pkg/sentry/syscalls/linux/linux_state_autogen.go
@@ -70,11 +70,11 @@ func (p *pollRestartBlock) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(2, &p.timeout)
}
-func (c *clockNanosleepRestartBlock) StateTypeName() string {
+func (n *clockNanosleepRestartBlock) StateTypeName() string {
return "pkg/sentry/syscalls/linux.clockNanosleepRestartBlock"
}
-func (c *clockNanosleepRestartBlock) StateFields() []string {
+func (n *clockNanosleepRestartBlock) StateFields() []string {
return []string{
"c",
"duration",
@@ -82,21 +82,21 @@ func (c *clockNanosleepRestartBlock) StateFields() []string {
}
}
-func (c *clockNanosleepRestartBlock) beforeSave() {}
+func (n *clockNanosleepRestartBlock) beforeSave() {}
-func (c *clockNanosleepRestartBlock) StateSave(stateSinkObject state.Sink) {
- c.beforeSave()
- stateSinkObject.Save(0, &c.c)
- stateSinkObject.Save(1, &c.duration)
- stateSinkObject.Save(2, &c.rem)
+func (n *clockNanosleepRestartBlock) StateSave(stateSinkObject state.Sink) {
+ n.beforeSave()
+ stateSinkObject.Save(0, &n.c)
+ stateSinkObject.Save(1, &n.duration)
+ stateSinkObject.Save(2, &n.rem)
}
-func (c *clockNanosleepRestartBlock) afterLoad() {}
+func (n *clockNanosleepRestartBlock) afterLoad() {}
-func (c *clockNanosleepRestartBlock) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &c.c)
- stateSourceObject.Load(1, &c.duration)
- stateSourceObject.Load(2, &c.rem)
+func (n *clockNanosleepRestartBlock) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &n.c)
+ stateSourceObject.Load(1, &n.duration)
+ stateSourceObject.Load(2, &n.rem)
}
func init() {