mirror of
https://github.com/opencontainers/runc.git
synced 2025-12-24 11:50:58 +08:00
Removed pre-go1.17 build-tags with go fix;
go fix -mod=readonly ./...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
14 lines
367 B
Go
14 lines
367 B
Go
//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")
|
|
}
|