Open GoogleCodeExporter opened 9 years ago
This is a known issue for Ubuntu (Mandriva is probably similar):
https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace_Protection
Here's an example for another program (gdb):
http://blog.mellenthin.de/archives/2010/10/18/gdb-attach-fails-with-ptrace-opera
tion-not-permitted/#comment-141535
Original comment by ian.teg...@gmail.com
on 21 Sep 2012 at 2:22
As a workaround, type this before running DwarfTherapist:
sudo echo 0 > /proc/sys/kernel/yama/ptrace_scope
NOTE: this disables ptrace protection for the whole system
Tested on Ubuntu 12.10
Original comment by daniel.t...@gmail.com
on 17 Mar 2013 at 7:56
This will only work on newer processors. In the 2.x kernel line you don't have
the option of disabling the protection. From what I read, if Therapist could
launch Dwarf Fortress then it would be allowed to inspect the process.
Original comment by whitc...@gmail.com
on 3 Apr 2013 at 1:38
Dear, I was migrated to Ubuntu 12.14 lts and forgot about that problem!!!
Original comment by a.rogov...@gmail.com
on 3 Apr 2013 at 1:48
whoops, instead of processors, it should be kernels
Original comment by whitc...@gmail.com
on 3 Apr 2013 at 1:50
hi all
i'm running pclinuxos at the moment and i have the very same ptrace issue, just
i seem to have no yama nor ptrace config anywhere on the hard disk..
Original comment by assoluto...@gmail.com
on 6 May 2013 at 10:06
Original issue reported on code.google.com by
a.rogov...@gmail.com
on 28 Aug 2012 at 6:22