aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin/execmem.c
diff options
context:
space:
mode:
authorcomex2015-02-22 22:06:39 -0500
committercomex2015-02-23 00:54:13 -0500
commitedf463dc11b4b5dd86f9934d8a9f4f86b0d75885 (patch)
treed09af826030dadf63488f6f83cffaa6b07588670 /lib/darwin/execmem.c
parentand avoid call to pthreads (diff)
downloadsubstitute-edf463dc11b4b5dd86f9934d8a9f4f86b0d75885.tar.gz
remove old comment
Diffstat (limited to 'lib/darwin/execmem.c')
-rw-r--r--lib/darwin/execmem.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/darwin/execmem.c b/lib/darwin/execmem.c
index 187f834..7d8e802 100644
--- a/lib/darwin/execmem.c
+++ b/lib/darwin/execmem.c
@@ -55,11 +55,6 @@ DECL_STATIC_HTAB_KEY(mach_port_t, mach_port_t, port_hash, port_eq, port_null, 0)
struct empty {};
DECL_HTAB(mach_port_set, mach_port_t, struct empty);
- /* ORPHAN: We do the syscall manually just in case the user is trying to write to
- * the mprotect syscall stub itself, or one of the functions it calls.
- * (Obviously, it will still break if the user targets some libsubstitute
- * function within the same page as this one, though.) */
-
/* This should only run on the main thread, so just use globals. */
static HTAB_STORAGE(mach_port_set) g_suspended_ports;
static struct sigaction old_segv, old_bus;