Move osutil to sys package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
789ff967c1
commit
51510a8806
5 changed files with 5 additions and 5 deletions
19
sys/prctl_solaris.go
Normal file
19
sys/prctl_solaris.go
Normal file
|
@ -0,0 +1,19 @@
|
|||
// +build solaris
|
||||
|
||||
package sys
|
||||
|
||||
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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue