Categorygithub.com/fuweid/go-mountidmapped
modulepackage
0.0.0-20230426143117-6f26c4ded229
Repository: https://github.com/fuweid/go-mountidmapped.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Fsconfig is to call SYS_FSCONFIG syscall.
GetUsernsFD returns a userns file descriptor.
IDMapMount calls mount_setattr syscall with a given userns fd.

# Constants

ProcSyncExit is to notify parent that the child is going to exit.
ProcSyncReady is to notify parent that child is running with pdeathsig and parent can start to write uid/gid maps.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

ProcIDMap holds Container ID to Host ID mappings used for User Namespaces in Linux.
No description provided by the author
ProcSyncType is used for synchronisation between parent and child process during setup user namespace mappings.