What happens when my init program exits with return value 0?
Este código, da função find_child_reaper em kernel/exit.c , é executado:
panic("Attempted to kill init! exitcode=0x%08x\n",
father->signal->group_exit_code ?: father->exit_code);
E, consequentemente, esta mensagem aparece no seu console:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000