idmap

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIDMappedMount

func CreateIDMappedMount(source, target string, pid int) error

CreateIDMappedMount creates a IDMapped bind mount from SOURCE to TARGET using the user namespace for the PID process.

func CreateUsernsProcess

func CreateUsernsProcess(uidMaps []idtools.IDMap, gidMaps []idtools.IDMap) (int, func(), error)

CreateUsernsProcess forks the current process and creates a user namespace using the specified mappings. It returns the pid of the new process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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