aboutsummaryrefslogtreecommitdiff
path: root/script/gen-manual-mach.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-23Fix vm_remap, of trouble with which the previous diagnosis was completely ↵comex1-1/+1
incorrect. It's actually the fact that no vm_map_server actually exists on the kernel side - even though the otherwise useless function vm_remap exists in the kernel source, and mig generates server code for it, apparently that server code isn't built or linked into the kobject table. Bizarre. Anyway, switch to mach_vm_remap, which is what vm_remap in userspace calls into.
2015-02-23Redo manual syscalls, and use them for hooking.. And fix mmap, which now ↵comex1-0/+13
makes the whole thing slightly broken, because vm_remap into the middle of the shared region apparently silently does nothing.