Tizen_4.0 base
[platform/upstream/docker-engine.git] / vendor / github.com / containerd / containerd / osutils / prctl_solaris.go
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 nil
19 }