On Wed, Feb 14, 2018 at 2:49 PM, Deb McLemore <de...@linux.vnet.ibm.com> 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
> and then the kernel flushes all the old process table information on the 
> place holder of PID=1,
> then the real Busybox /sbin/init starts its life all fresh from the 
> do_execve, no state remains.

I would like to reproduce it. I use a tiny qemu environment for my tests,
see attached. Can you modify it so that a process is started before init?

Attachment: testing_in_qemu.tar.gz
Description: GNU Zip compressed data

busybox mailing list

Reply via email to