mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
004cf556e8
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
25 lines
354 B
Go
25 lines
354 B
Go
// +build !linux
|
|
|
|
package system
|
|
|
|
import (
|
|
"os/exec"
|
|
)
|
|
|
|
func SetCloneFlags(cmd *exec.Cmd, flag uintptr) {
|
|
|
|
}
|
|
|
|
func UsetCloseOnExec(fd uintptr) error {
|
|
return ErrNotSupportedPlatform
|
|
}
|
|
|
|
func Gettid() int {
|
|
return 0
|
|
}
|
|
|
|
func GetClockTicks() int {
|
|
// when we cannot call out to C to get the sysconf it is fairly safe to
|
|
// just return 100
|
|
return 100
|
|
}
|