<table><tr><td style="">croick updated this revision to Diff 49609.<br />croick retitled this revision from "[KCrash] Establish socket to allow change of ptrace scope" to "[KCrash] Establish socket to allow change of ptracer".<br />croick edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-nqly3lzn6lhhdn6/">(Show Details)</a><br />croick added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11236">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">use poll instead of select</li>
<li class="remarkup-list-item">set ptracer pid and poll for request for the directly started DrKonqi as well and make the ifdef-section more readable</li>
<li class="remarkup-list-item">replace bogus perror</li>
</ul></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">- In</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- On</span> Linux recent kernels only allow attaching of processes<div style="padding: 8px 0;">...</div>  * the right to attach to processes is enabled system-wide<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"><br />
  * the debugger is a child process of the debuggee</span><br />
  * or the debuggee grants access by a call to<div style="padding: 8px 0;">...</div>  debugger<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> by the debuggee</span>.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R285 KCrash</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D11236?vs=43560&id=49609">https://phabricator.kde.org/D11236?vs=43560&id=49609</a></div></div><br /><div><strong>BRANCH</strong><div><div>ptracer</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11236">https://phabricator.kde.org/D11236</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kcrash.cpp</div></div></div><br /><div><strong>To: </strong>croick, Frameworks, ossi<br /><strong>Cc: </strong>dfaure, lepagevalleeemmanuel, kde-frameworks-devel, sitter, michaelh, ngraham, bruns<br /></div>