pub fn init(params: BootParams) -> AgentdResult<()>Expand description
Performs synchronous PID 1 initialization.
Applies sandbox-wide resource limits first so every later guest process inherits the raised baseline, then mounts filesystems, applies directory mounts, file mounts, and tmpfs mounts from the parsed params. Configures networking and prepares runtime directories.
Consumes the BootParams by value — the data is one-shot and not
needed after init returns.