diff options
author | comex | 2015-02-22 22:43:43 -0500 |
---|---|---|
committer | comex | 2015-02-23 00:54:13 -0500 |
commit | d555fb6089da308956e49db7f60dfbb4d182c3df (patch) | |
tree | fad1fa0d64e7fb591d0a2030633c2a3ed76e41c7 /Makefile | |
parent | remove old comment (diff) | |
download | substitute-d555fb6089da308956e49db7f60dfbb4d182c3df.tar.gz |
Fix vm_remap, of trouble with which the previous diagnosis was completely 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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ $(eval $(call do_prefix,thumb,-n _thumb,ARM)) $(eval $(call do_prefix,arm,-n _arm,ARM)) $(eval $(call do_prefix,arm64,,AArch64)) -HEADERS := lib/*.h lib/*/*.h +HEADERS := lib/*.h lib/*/*.h generated/manual-mach.inc.h out/%.o: lib/%.c Makefile $(HEADERS) @mkdir -p $(dir $@) @@ -141,7 +141,7 @@ $(eval $(call define_test,interpose,interpose,$(CC) -std=c11 -lsubstitute)) $(eval $(call define_test,inject,inject,$(CC) -std=c11 -lsubstitute out/darwin/inject.o out/darwin/read.o)) $(eval $(call define_test,pc-patch,pc-patch,$(CC) -std=c11 out/darwin/execmem.o)) $(eval $(call define_test,execmem,execmem,$(CC) -std=c11 out/darwin/execmem.o -segprot __TEST rwx rx)) -$(eval $(call define_test,hook-functions,hook-functions,$(CC) -std=c11 -lsubstitute)) +$(eval $(call define_test,hook-functions,hook-functions,$(CC) -std=c11 -lsubstitute -segprot __TEST rwx rx)) $(eval $(call define_test,posixspawn-hook,posixspawn-hook,$(CC) -std=c11)) $(eval $(call define_test,htab,htab,$(CC) -std=c11)) |