diff options
author | comex | 2015-02-22 22:06:39 -0500 |
---|---|---|
committer | comex | 2015-02-23 00:54:13 -0500 |
commit | edf463dc11b4b5dd86f9934d8a9f4f86b0d75885 (patch) | |
tree | d09af826030dadf63488f6f83cffaa6b07588670 /lib | |
parent | and avoid call to pthreads (diff) | |
download | substitute-edf463dc11b4b5dd86f9934d8a9f4f86b0d75885.tar.gz |
remove old comment
Diffstat (limited to 'lib')
-rw-r--r-- | lib/darwin/execmem.c | 5 |
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; |