2015-05-14 06:42:16 +08:00
|
|
|
// +build !linux,!windows
|
2015-04-25 06:09:56 +08:00
|
|
|
|
|
|
|
package configs
|
|
|
|
|
|
|
|
func (n *Namespace) Syscall() int {
|
|
|
|
panic("No namespace syscall support")
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
// CloneFlags parses the container's Namespaces options to set the correct
|
2016-03-25 11:11:48 +08:00
|
|
|
// flags on clone, unshare. This function returns flags only for new namespaces.
|
2015-04-25 06:09:56 +08:00
|
|
|
func (n *Namespaces) CloneFlags() uintptr {
|
|
|
|
panic("No namespace syscall support")
|
|
|
|
return uintptr(0)
|
|
|
|
}
|