diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-11-01 19:48:00 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-01 19:48:00 +0000 |
commit | 0e577bb6f85847ac5038dc4ae7d86b0ccf720e03 (patch) | |
tree | 7cc1d96afa1f7b64b474b679a4e9a55cfb593078 /pkg/sentry/socket/netlink/netlink_state_autogen.go | |
parent | 4864ea47cc391221e90fce0f2f61964251fbdcc9 (diff) | |
parent | 515fee5b6d4f3270c951f72283aef79a28d463dd (diff) |
Merge release-20190806.1-363-g515fee5 (automated)
Diffstat (limited to 'pkg/sentry/socket/netlink/netlink_state_autogen.go')
-rwxr-xr-x | pkg/sentry/socket/netlink/netlink_state_autogen.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/sentry/socket/netlink/netlink_state_autogen.go b/pkg/sentry/socket/netlink/netlink_state_autogen.go index 794187ec0..fa1feb447 100755 --- a/pkg/sentry/socket/netlink/netlink_state_autogen.go +++ b/pkg/sentry/socket/netlink/netlink_state_autogen.go @@ -18,6 +18,7 @@ func (x *Socket) save(m state.Map) { m.Save("bound", &x.bound) m.Save("portID", &x.portID) m.Save("sendBufferSize", &x.sendBufferSize) + m.Save("passcred", &x.passcred) } func (x *Socket) afterLoad() {} @@ -31,8 +32,19 @@ func (x *Socket) load(m state.Map) { m.Load("bound", &x.bound) m.Load("portID", &x.portID) m.Load("sendBufferSize", &x.sendBufferSize) + m.Load("passcred", &x.passcred) +} + +func (x *kernelSCM) beforeSave() {} +func (x *kernelSCM) save(m state.Map) { + x.beforeSave() +} + +func (x *kernelSCM) afterLoad() {} +func (x *kernelSCM) load(m state.Map) { } func init() { state.Register("netlink.Socket", (*Socket)(nil), state.Fns{Save: (*Socket).save, Load: (*Socket).load}) + state.Register("netlink.kernelSCM", (*kernelSCM)(nil), state.Fns{Save: (*kernelSCM).save, Load: (*kernelSCM).load}) } |