62e1370f91
* containerd build clean on Solaris Signed-off-by: Amit Krishnan <krish.amit@gmail.com> * Vendor golang.org/x/sys Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
18 lines
441 B
Go
18 lines
441 B
Go
// +build solaris
|
|
|
|
package osutils
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
//Solaris TODO
|
|
// GetSubreaper returns the subreaper setting for the calling process
|
|
func GetSubreaper() (int, error) {
|
|
return 0, errors.New("osutils GetSubreaper not implemented on Solaris")
|
|
}
|
|
|
|
// SetSubreaper sets the value i as the subreaper setting for the calling process
|
|
func SetSubreaper(i int) error {
|
|
return errors.New("osutils SetSubreaper not implemented on Solaris")
|
|
}
|