darlingserver/duct-tape
Ariel Abreu be93cc46b7
Many additions + stubs; basic kernel MIG RPC working
Most of the newly added functions are just stubs for MIG calls. However, we now properly initialize IPC and related subsystems and we now have copyin/copyout that allows basic `mach_msg_overwrite_trap` usage.

dyld now progresses to `getHostInfo` and successfully retrieves `host_info` with a kernel MIG call (and then proceeds to die on `mach_port_deallocate`, since it hasn't been updated yet).
2022-01-20 00:11:51 -05:00
..
defines Initial commit 2022-01-18 00:46:28 -05:00
include/darlingserver Many additions + stubs; basic kernel MIG RPC working 2022-01-20 00:11:51 -05:00
internal-include/darlingserver/duct-tape Many additions + stubs; basic kernel MIG RPC working 2022-01-20 00:11:51 -05:00
src Many additions + stubs; basic kernel MIG RPC working 2022-01-20 00:11:51 -05:00
xnu Many additions + stubs; basic kernel MIG RPC working 2022-01-20 00:11:51 -05:00
CMakeLists.txt Many additions + stubs; basic kernel MIG RPC working 2022-01-20 00:11:51 -05:00
Makefile Initial commit 2022-01-18 00:46:28 -05:00
README.md Initial commit 2022-01-18 00:46:28 -05:00

darlingserver Duct Taping

The purpose of this subproject is to use a significantly stripped down version of XNU's own kernel code coupled with some glue/duct-tape code to simulate the necessary parts of a normal XNU kernel environment for the code to work properly to implement things like Mach IPC.