41bfbd28fe
for forking the traditional UNIX init(8) and it does the Mach port naming service. We need mach_init for the naming service, but unfortunately, it will only act as such if its PID is 1. We introduce a sysctl (emul.darwin.init_pid) to fool a given process into thinking its PID is 1. That way we can get mach_init into behaving as the name server. Typical use: /sbin/sysctl -w emul.darwin.init_pid=$$ ; exec /emul/darwin/sbin/mach_init |
||
---|---|---|
.. | ||
Makefile | ||
darwin_exec.c | ||
darwin_exec.h | ||
darwin_mman.c | ||
darwin_signal.c | ||
darwin_signal.h | ||
darwin_syscall.h | ||
darwin_syscallargs.h | ||
darwin_syscalls.c | ||
darwin_sysctl.c | ||
darwin_sysctl.h | ||
darwin_sysent.c | ||
darwin_thread.c | ||
files.darwin | ||
syscalls.conf | ||
syscalls.master |