Documentation ¶
Index ¶
Constants ¶
View Source
const ( MNT = syscall.CLONE_NEWNS UTS = syscall.CLONE_NEWUTS IPC = syscall.CLONE_NEWIPC USER = syscall.CLONE_NEWUSER PID = syscall.CLONE_NEWPID NET = syscall.CLONE_NEWNET )
Variables ¶
View Source
var (
ErrNotImplemented = errors.New("not implemented")
)
View Source
var SYS_SETNS = map[string]uintptr{ "386": 346, "amd64": 308, "arm64": 268, "arm": 375, "ppc64": 350, "ppc64le": 350, "s390x": 339, }[runtime.GOARCH]
SYS_SETNS syscall allows changing the namespace of the current process.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.