<div dir="ltr">Hey Doug,<div><br></div><div>Can you create yourself an account on <a href="http://reviews.llvm.org">reviews.llvm.org</a>, add yourself as a reviewer, and check if this patch fixes the attach failures we diagnosed at your desk the other day?</div><div><br></div><div>Thanks!</div><div><br></div><div>-Todd</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 17, 2014 at 11:38 AM, Todd Fiala <span dir="ltr"><<a href="mailto:todd.fiala@gmail.com" target="_blank">todd.fiala@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
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.<br>
<br>
<a href="http://reviews.llvm.org/D5846" target="_blank">http://reviews.llvm.org/D5846</a><br>
<br>
Files:<br>
  test/tools/lldb-gdbserver/main.cpp<br>
<br>_______________________________________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@cs.uiuc.edu">lldb-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a></td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><br></td></tr></tbody></table><br></div>
</div>