<div dir="ltr">On Fri, Jan 8, 2016 at 11:34 PM, Simon McVittie <span dir="ltr"><<a href="mailto:simon.mcvittie@collabora.co.uk" target="_blank">simon.mcvittie@collabora.co.uk</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 08/01/16 04:31, Robert O'Callahan wrote:<br>
> <a href="http://rr-project.org" rel="noreferrer" target="_blank">http://rr-project.org</a> has a test suite which runs a lot of programs that<br>
> intentionally crash with core-dumping signals.<br>
<br>
</span>dbus has a similar thing in its test suite. The feature you want is<br>
PR_SET_DUMPABLE.<br clear="all"></blockquote></div><br></div><div class="gmail_extra">Thanks. Unfortunately prctl(PR_SET_DUMPABLE, 0) makes it impossible to PTRACE_ATTACH to such a process, which rr needs to run its tests. (rr is a debugger.). It also changes the owner of most files/dirs under /proc/<pid> to root, which breaks various other things rr needs.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Rob<br></div><div class="gmail_extra">-- <br><div class="gmail_signature"><div dir="ltr">lbir ye,ea yer.tnietoehr rdn rdsme,anea lurpr edna e hnysnenh hhe uresyf toD<br>selthor stor edna siewaoeodm or v sstvr esBa kbvted,t rdsme,aoreseoouoto<br>o l euetiuruewFa kbn e hnystoivateweh uresyf tulsa rehr rdm or rnea lurpr <br>.a war hsrer holsa rodvted,t nenh hneireseoouot.tniesiewaoeivatewt sstvr esn<br></div></div>
</div></div>