NetBSD/sys/compat/darwin
manu 41bfbd28fe On Darwin, mach_init is the system bootstrap process. It is responsible
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
2002-12-24 12:15:45 +00:00
..
Makefile
darwin_exec.c On Darwin, mach_init is the system bootstrap process. It is responsible 2002-12-24 12:15:45 +00:00
darwin_exec.h Added implementation for cthread_self() and cthread_set_self(). Theses are 2002-12-07 15:33:01 +00:00
darwin_mman.c Get less debug output 2002-12-24 12:13:15 +00:00
darwin_signal.c Filter the flag bits we get from Darwin's sigaction when giving them to 2002-11-29 13:17:22 +00:00
darwin_signal.h Filter the flag bits we get from Darwin's sigaction when giving them to 2002-11-29 13:17:22 +00:00
darwin_syscall.h On Darwin, mach_init is the system bootstrap process. It is responsible 2002-12-24 12:15:45 +00:00
darwin_syscallargs.h On Darwin, mach_init is the system bootstrap process. It is responsible 2002-12-24 12:15:45 +00:00
darwin_syscalls.c On Darwin, mach_init is the system bootstrap process. It is responsible 2002-12-24 12:15:45 +00:00
darwin_sysctl.c On Darwin, mach_init is the system bootstrap process. It is responsible 2002-12-24 12:15:45 +00:00
darwin_sysctl.h On Darwin, mach_init is the system bootstrap process. It is responsible 2002-12-24 12:15:45 +00:00
darwin_sysent.c On Darwin, mach_init is the system bootstrap process. It is responsible 2002-12-24 12:15:45 +00:00
darwin_thread.c A working fork/vfork implementation. Darwin fork differs from our fork by 2002-12-08 21:53:10 +00:00
files.darwin A working fork/vfork implementation. Darwin fork differs from our fork by 2002-12-08 21:53:10 +00:00
syscalls.conf Use FreeBSD emulation to get pathname lookups in /emul/darwin. These FreeBSD 2002-11-14 21:47:15 +00:00
syscalls.master On Darwin, mach_init is the system bootstrap process. It is responsible 2002-12-24 12:15:45 +00:00