Hey Doug,

Can you create yourself an account on reviews.llvm.org, add yourself as a
reviewer, and check if this patch fixes the attach failures we diagnosed at
your desk the other day?

Thanks!

-Todd

On Fri, Oct 17, 2014 at 11:38 AM, Todd Fiala <[email protected]> wrote:

> Some Linux kernels have a ptrace security feature that prevents a ptracer
> from attaching to the inferior if the ptracer is not an ancestor in the
> process hierarchy.  In the gdb-remote attach tests, the llgs is not a
> parent of the inferior, so kernels that protect against this are failing on
> the attach tests.
>
> This change to the inferior test program checks if the inferior is running
> on Linux and has the relevant ptrace flags, and if so, first thing enables
> a ptracer that is not part of the parent hierarchy.
>
> http://reviews.llvm.org/D5846
>
> Files:
>   test/tools/lldb-gdbserver/main.cpp
>
> _______________________________________________
> lldb-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>
>


-- 
Todd Fiala | Software Engineer | [email protected]
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to