github.com/nicocha30/gvisor-ligolo@v0.0.0-20230726075806-989fa2c0a413/pkg/sentry/kernel/kernel_impl_state_autogen.go (about)

     1  // automatically generated by stateify.
     2  
     3  //go:build go1.1
     4  // +build go1.1
     5  
     6  package kernel
     7  
     8  import (
     9  	"github.com/nicocha30/gvisor-ligolo/pkg/state"
    10  )
    11  
    12  func (p *pidNamespaceData) StateTypeName() string {
    13  	return "pkg/sentry/kernel.pidNamespaceData"
    14  }
    15  
    16  func (p *pidNamespaceData) StateFields() []string {
    17  	return []string{}
    18  }
    19  
    20  func (p *pidNamespaceData) beforeSave() {}
    21  
    22  // +checklocksignore
    23  func (p *pidNamespaceData) StateSave(stateSinkObject state.Sink) {
    24  	p.beforeSave()
    25  }
    26  
    27  func (p *pidNamespaceData) afterLoad() {}
    28  
    29  // +checklocksignore
    30  func (p *pidNamespaceData) StateLoad(stateSourceObject state.Source) {
    31  }
    32  
    33  func init() {
    34  	state.Register((*pidNamespaceData)(nil))
    35  }