gdb cannot attach to a running process

Март 17th, 2014 | Posted by elenst in Pensieve

gdb complains on Ubuntu: “ptrace: Operation not permitted

For runtime:
echo 0 > /proc/sys/kernel/yama/ptrace_scope

set kernel.yama.ptrace_scope = 0 in /etc/sysctl.d/10-ptrace.conf

You can follow any responses to this entry through the RSS 2.0 Both comments and pings are currently closed.