MINI-INIT-ASM(1)

NAME
mini-init-asm - tiny PID 1 init for containers

SYNOPSIS
mini-init-asm [-v|--verbose] [-V|--version] -- command [args ...]

DESCRIPTION
mini-init-asm is a small container init that runs one child process as PID 1, forwards incoming signals to the child's process group, and reaps exited descendants. It is implemented in assembly and intentionally avoids libc runtime dependencies.

On Debian, the installed executable is /usr/bin/mini-init-asm.

OPTIONS

-v, --verbose
    Enable verbose diagnostics on standard error.

-V, --version
    Print version information and exit.

ENVIRONMENT
Numeric values are parsed as non-negative decimal integers. Invalid values are ignored and defaults are used.

EP_SIGNALS
    Comma-separated list of additional signals to monitor and forward to the child process group. Tokens may be signal names (for example USR1, WINCH) or signal numbers.

EP_SUBREAPER
    If set to 1, enable PR_SET_CHILD_SUBREAPER so the process can adopt orphaned descendants before reaping them. Default: 0.

EP_RESTART_ENABLED
    If set to 1, restart the child when it dies from a signal and shutdown has not started. Default: 0.

EP_MAX_RESTARTS
    Maximum number of restarts when EP_RESTART_ENABLED=1 is active. 0 means unlimited restarts. Default: 0.

EXIT STATUS

•   Returns the child's exit status when the child exits normally.

•   Returns a signal-based status when the child is terminated by a signal.

SEE ALSO
signal(7), signalfd(2), prctl(2), wait4(2)