[PATCH] init: Add handshake to poweroff/reboot for signal handler setup

Denys Vlasenko vda.linux at googlemail.com
Wed Feb 14 16:01:38 UTC 2018


On Wed, Feb 14, 2018 at 4:44 PM, Laurent Bercot
<ska-dietlibc at skarnet.org> wrote:
>> When PID=0 in early kernel_init, PID=1 has a skeleton running, this
>> detection is not
>>
>> the Busybox /sbin/init, but a place holder for when the real Busybox
>> /sbin/init is do_execve'd
>
>
>  Are you saying the kernel could spawn a /sbin/reboot process *before*
> kernel_init execs into the userspace init?

Probably a hotplug helper of some sort....


More information about the busybox mailing list