summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/proc/proc_state_autogen.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-29 21:38:30 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-29 21:38:30 +0000
commit257dea5e4ff674bd6b56c9386799763b23a9f275 (patch)
tree5e83904b9971b68bca7b9c48602d4f0eb4cbf2f2 /pkg/sentry/fs/proc/proc_state_autogen.go
parent2fb00dc310329e0f8bc76626f2c48eacf8531e67 (diff)
parent863e11ac4d6a49787cd5e5f6fe1cd771d0ceb100 (diff)
Merge 863e11ac (automated)
Diffstat (limited to 'pkg/sentry/fs/proc/proc_state_autogen.go')
-rwxr-xr-xpkg/sentry/fs/proc/proc_state_autogen.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/sentry/fs/proc/proc_state_autogen.go b/pkg/sentry/fs/proc/proc_state_autogen.go
index 2fe57901a..a1b87637d 100755
--- a/pkg/sentry/fs/proc/proc_state_autogen.go
+++ b/pkg/sentry/fs/proc/proc_state_autogen.go
@@ -203,6 +203,17 @@ func (x *netTCP) load(m state.Map) {
m.Load("k", &x.k)
}
+func (x *netUDP) beforeSave() {}
+func (x *netUDP) save(m state.Map) {
+ x.beforeSave()
+ m.Save("k", &x.k)
+}
+
+func (x *netUDP) afterLoad() {}
+func (x *netUDP) load(m state.Map) {
+ m.Load("k", &x.k)
+}
+
func (x *proc) beforeSave() {}
func (x *proc) save(m state.Map) {
x.beforeSave()
@@ -633,6 +644,7 @@ func init() {
state.Register("proc.netDev", (*netDev)(nil), state.Fns{Save: (*netDev).save, Load: (*netDev).load})
state.Register("proc.netUnix", (*netUnix)(nil), state.Fns{Save: (*netUnix).save, Load: (*netUnix).load})
state.Register("proc.netTCP", (*netTCP)(nil), state.Fns{Save: (*netTCP).save, Load: (*netTCP).load})
+ state.Register("proc.netUDP", (*netUDP)(nil), state.Fns{Save: (*netUDP).save, Load: (*netUDP).load})
state.Register("proc.proc", (*proc)(nil), state.Fns{Save: (*proc).save, Load: (*proc).load})
state.Register("proc.self", (*self)(nil), state.Fns{Save: (*self).save, Load: (*self).load})
state.Register("proc.threadSelf", (*threadSelf)(nil), state.Fns{Save: (*threadSelf).save, Load: (*threadSelf).load})