mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 22:37:14 +08:00
10cc27888c
Signed-off-by: allencloud <allen.sun@daocloud.io>
16 lines
392 B
Go
16 lines
392 B
Go
// +build !linux,!windows
|
|
|
|
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
|
|
// flags on clone, unshare. This function returns flags only for new namespaces.
|
|
func (n *Namespaces) CloneFlags() uintptr {
|
|
panic("No namespace syscall support")
|
|
return uintptr(0)
|
|
}
|