[Bug 24193] ptrace protection in Ubuntu 10.10 breaks debuggers (affects winedbg, wow, ...)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 13 12:11:00 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24193

--- Comment #7 from Henri Verbeet <hverbeet at gmail.com> 2010-09-13 12:10:59 CDT ---
(In reply to comment #6)
> Ubuntu has added prctl(PR_SET_PTRACER, debugger_pid, 0, 0, 0); as the way to
> declare PTRACE relationships for crash handlers (or wardens).  For an example,
> see how kdelibs was patched:
> 
> http://launchpadlibrarian.net/51487035/kde4libs_4%3A4.4.90-0ubuntu2_4%3A4.4.90-0ubuntu3.diff.gz
> 
> It should be possible for a process to specify which process families are
> allowed to PTRACE it.

Did PR_SET_PTRACER actually make it into the mainline kernel then? 0x59616d61 /
"Yama" certainly looks magic.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list