Hello.
I'm going to write init from scratch. I need to know what it has to do to be considered a valid init. I was unable to find any information on my own. I decided to use FreeBSD kernel. I tried it once with Linux kernel but wasn't able to find much information either. Save for source code of runit.
Example: If Linux init doesn't register some signal handlers it will cause kernel panic; some have special meaning
Thank you.
I'm going to write init from scratch. I need to know what it has to do to be considered a valid init. I was unable to find any information on my own. I decided to use FreeBSD kernel. I tried it once with Linux kernel but wasn't able to find much information either. Save for source code of runit.
Example: If Linux init doesn't register some signal handlers it will cause kernel panic; some have special meaning
Thank you.