Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Cgroup bool // Enter cgroup namespace CgroupFile string // Cgroup namespace location, default to /proc/PID/ns/cgroup FollowContext bool // Set SELinux security context GID int // GID to use to execute given program IPC bool // Enter IPC namespace IPCFile string // IPC namespace location, default to /proc/PID/ns/ipc Mount bool // Enter mount namespace MountFile string // Mount namespace location, default to /proc/PID/ns/mnt Net bool // Enter network namespace NetFile string // Network namespace location, default to /proc/PID/ns/net NoFork bool // Do not fork before executing the specified program PID bool // Enter PID namespace PIDFile string // PID namespace location, default to /proc/PID/ns/pid PreserveCredentials bool // Preserve current UID/GID when entering namespaces RootDirectory string // Set the root directory, default to target process root directory Target int // Target PID (required) UID int // UID to use to execute given program User bool // Enter user namespace UserFile string // User namespace location, default to /proc/PID/ns/user UTS bool // Enter UTS namespace UTSFile string // UTS namespace location, default to /proc/PID/ns/uts WorkingDirectory string // Set the working directory, default to target process working directory }
Config is the nsenter configuration used to generate nsenter command
Click to show internal directories.
Click to hide internal directories.