// automatically generated by stateify. package signalfd import ( "gvisor.dev/gvisor/pkg/state" ) func (x *SignalOperations) beforeSave() {} func (x *SignalOperations) save(m state.Map) { x.beforeSave() m.Save("target", &x.target) m.Save("mask", &x.mask) } func (x *SignalOperations) afterLoad() {} func (x *SignalOperations) load(m state.Map) { m.Load("target", &x.target) m.Load("mask", &x.mask) } func init() { state.Register("pkg/sentry/kernel/signalfd.SignalOperations", (*SignalOperations)(nil), state.Fns{Save: (*SignalOperations).save, Load: (*SignalOperations).load}) }