github.com/datawolf/containerd@v0.2.4/osutils/prctl_solaris.go (about)

     1  // +build solaris
     2  
     3  package osutils
     4  
     5  import (
     6  	"errors"
     7  )
     8  
     9  //Solaris TODO
    10  
    11  // GetSubreaper returns the subreaper setting for the calling process
    12  func GetSubreaper() (int, error) {
    13  	return 0, errors.New("osutils GetSubreaper not implemented on Solaris")
    14  }
    15  
    16  // SetSubreaper sets the value i as the subreaper setting for the calling process
    17  func SetSubreaper(i int) error {
    18  	return errors.New("osutils SetSubreaper not implemented on Solaris")
    19  }