blob: 2ab5b47022cc56d69df5b26021147f96201c43b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// 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})
}
|