PTRACE_ATTACH pas autorisé pour

Pour une raison que je ne suis pas en mesure de joindre à ma propre processus?! Fonctionne très bien si j'essaie strace en tant que root.

$ ./list8 &
[1] 3141
$ child4 starts...

$ strace -p 3141
attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
$ cat /proc/sys/kernel/yama/ptrace_scope
1

En cours d'exécution sur lubuntu 13.10

Linux goal 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 i686 i686 GNU/Linux

Alors comment gdb joindre à l'utilisateur des processus sans avoir à muck autour avec les paramètres du noyau (ptrace_scope)??

OriginalL'auteur user2705045 | 2013-08-21