Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
opa334 committed Jul 26, 2024
1 parent 7b31769 commit 07a34c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BaseBin/launchdhook/src/spawn_hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ int __posix_spawn_hook(pid_t *restrict pid, const char *restrict path,
fclose(f);
#endif

// But before, we want to stash the primitives in boomerang
// Before the userspace reboot, we want to stash the primitives into boomerang
boomerang_stashPrimitives();

// Fix Xcode debugging being broken after the userspace reboot
Expand Down Expand Up @@ -120,6 +120,7 @@ int __posix_spawn_hook(pid_t *restrict pid, const char *restrict path,
#endif

// We can't support injection into processes that get spawned before the launchd XPC server is up
// (Technically we could but there is little reason to, since it requires additional work)
if (gInEarlyBoot) {
if (!strcmp(path, "/usr/libexec/xpcproxy")) {
// The spawned process being xpcproxy indicates that the launchd XPC server is up
Expand Down

0 comments on commit 07a34c9

Please sign in to comment.