prctl_solaris.go 441 B

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