pfnamespaces

package
v0.0.0-...-3b12f0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnterNamespace

func EnterNamespace(pid int, nsType string) (int, error)

EnterNamespace enters a new namespace of the specified type, inherited from the provided PID. The returned file descriptor must be closed with unix.Close(). Note that this function affects the OS thread calling this function, which will likely impact more than one goroutine unless you also use runtime.LockOSThread.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL