Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (24 sloc) 0.805 kb
--- build/src/tor-0.2.3.12-alpha/src/common/compat.c 2012-04-30 12:25:37.000000000 -0700
+++ build/src/tor-0.2.3.12-alpha/src/common/compat2.c 2012-05-08 15:21:29.000000000 -0700
@@ -1597,16 +1597,16 @@
#ifdef PR_SET_DUMPABLE
attempted = 1;
r = prctl(PR_SET_DUMPABLE, 0);
#endif
#endif
-#if defined(__APPLE__) && defined(PT_DENY_ATTACH)
- if (r < 0) {
- attempted = 1;
- r = ptrace(PT_DENY_ATTACH, 0, 0, 0);
- }
-#endif
+//#if defined(__APPLE__) && defined(PT_DENY_ATTACH)
+// if (r < 0) {
+// attempted = 1;
+// r = ptrace(PT_DENY_ATTACH, 0, 0, 0);
+// }
+//#endif
// XXX: TODO - Mac OS X has dtrace and this may be disabled.
// XXX: TODO - Windows probably has something similar
if (r == 0 && attempted) {
log_debug(LD_CONFIG,"Debugger attachment disabled for "
Jump to Line
Something went wrong with that request. Please try again.