Hi all,
Ubuntu has added ptrace scope protection in 10.10 [1,2].
This causes an issue with crash handlers. See kde [3], chromium[4],
wine[5], etc.
From what I've read, the solution is to define the constant if it is
not defined and call the function (prctl will ignore unknown options.)
In addition to this we will need to hold the child process until we have
called prctl in the parent.
I briefly tested that this solves the issue on my system with the
following changes: http://pastebin.com/tpZ04MTc
Obviously that patch does not synchronise the child (the purpose was
only to check that it would work.)
Please discuss.
-Safety0ff
[1]
https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace%20Protection
[2] https://wiki.ubuntu.com/Security/Features#PTRACE%20scope
[3] https://launchpad.net/bugs/589841
[4] http://code.google.com/p/chromium/issues/detail?id=46368
[5] http://bugs.winehq.org/show_bug.cgi?id=24193
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev