On Sonntag, 30. März 2014 00:07:15 CEST, Martin Klapetek wrote:

However many distros disable gdb attach to running processes by default;
you have to either be root or echo 1 somewhere in /proc (for which you also
need to be root).

/proc/sys/kernel/yama/ptrace_scope

On top of this, one could also have ksmserver PTRACE_ATTACH/SEIZE itself (at least on linux that 
used to be a singleton feature), but root access more or less implies "game over" in this 
context (you could simply replace ksmserver or the greeter app with a "fixed" variant and 
wait for the next incident)

Cheers,
Thomas

Reply via email to