From 3295b45d5fc2a1288aeca7e744d7bc003fa7a5a1 Mon Sep 17 00:00:00 2001 From: comex Date: Sat, 28 Feb 2015 21:23:36 -0500 Subject: add substituted launchd plist; move helpers to separate directory --- darwin-bootstrap/posixspawn-hook.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'darwin-bootstrap/posixspawn-hook.c') diff --git a/darwin-bootstrap/posixspawn-hook.c b/darwin-bootstrap/posixspawn-hook.c index e948b16..b467ca5 100644 --- a/darwin-bootstrap/posixspawn-hook.c +++ b/darwin-bootstrap/posixspawn-hook.c @@ -52,7 +52,7 @@ static bool advance(char **strp, const char *template) { } static bool spawn_unrestrict(pid_t pid, bool should_resume, bool is_exec) { - const char *prog = "/Library/Substitute/unrestrict"; + const char *prog = "/Library/Substitute/Helpers/unrestrict"; char pid_s[32]; sprintf(pid_s, "%ld", (long) pid); const char *should_resume_s = should_resume ? "1" : "0"; @@ -169,9 +169,9 @@ static int hook_posix_spawn_generic(__typeof__(posix_spawn) *old, static const char bl_dylib[] = - "/Library/Substitute/bundle-loader.dylib"; + "/Library/Substitute/Helpers/bundle-loader.dylib"; static const char psh_dylib[] = - "/Library/Substitute/posixspawn-hook.dylib"; + "/Library/Substitute/Helpers/posixspawn-hook.dylib"; /* which dylib should we add, if any? */ const char *dylib_to_add; -- cgit v1.2.3