mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 22:37:14 +08:00
f3c16acd47
runc/libcontainer/configs/namespaces_syscall_unsupported.go Line 7: error: unreachable code (vet) Line 14: error: unreachable code (vet) Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
14 lines
363 B
Go
14 lines
363 B
Go
// +build !linux,!windows
|
|
|
|
package configs
|
|
|
|
func (n *Namespace) Syscall() int {
|
|
panic("No namespace syscall support")
|
|
}
|
|
|
|
// 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")
|
|
}
|