Sweets/hummingbird

Can not chroot into hummingbird based envoirment

Ocean-Moist opened this issue · 2 comments

I try to chroot, and it gives me:

Hummingbird must be ran as PID 1

It probably is an issue on my side, But this my be some weird thing with how hummingbird checks PID?

I am going to say this is on me.

Hummingbird checks pid with getpid(). Anything that isn’t 1 errors out (any non-1 PID means an init has already ran an presumably already done a boot up sequence).

https://github.com/Sweets/hummingbird/blob/master/src/hummingbird.c#L26