[lldb-dev] attach: operation not permitted

Thiago Farina tfarina at chromium.org
Sat Aug 16 16:32:34 PDT 2014

On Sat, Aug 16, 2014 at 8:15 PM, Reid Kleckner <rnk at google.com> wrote:

> Nevermind, /home probably means you're on Linux. I think Ubuntu has a
> similar restriction against ptracing non-child processes. You have to do
> silly stuff like:
> echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
> That was it!

(lldb) attach -p 11275
Process 11275 stopped
Executable module set to "/home/tfarina/chromium/src/out/Debug/chrome".
Architecture set to: x86_64-unknown-linux.

Thanks Reid.

Thiago Farina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140816/b5c3252b/attachment.html>

More information about the lldb-dev mailing list