[lldb-dev] attach: operation not permitted

Todd Fiala tfiala at google.com
Sat Aug 16 16:37:05 PDT 2014


Reid, you beat me to it :-)

-Todd


On Sat, Aug 16, 2014 at 4:32 PM, Thiago Farina <tfarina at chromium.org> wrote:

>
>
>
> 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
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>


-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140816/19e077aa/attachment.html>


More information about the lldb-dev mailing list