Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaybeRegister ¶
MaybeRegister() calls Register() if the current context is a rootless one, or if the "container" environment variable suggests that we're in a container.
func Register ¶
Register() registers binfmt.d emulators described by configuration files in the passed-in slice of directories, or in the union of /etc/binfmt.d, /run/binfmt.d, and /usr/lib/binfmt.d if the slice has no items. If any emulators are configured, it will attempt to mount a binfmt_misc filesystem in the current mount namespace first, ignoring only EPERM and EACCES errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.