<p></p>
<p>Currently when you are attaching to several processes, it is hard to find later what these processes are, what privileges they have, what open file descriptors they inherited, etc. It could be useful to print some process information summary on joining ne PID and on the forking/cloning. The most interesting information (from my point of view) is:</p>
<ul>
<li>UIDs,</li>
<li>GIDs,</li>
<li>supplementary groups,</li>
<li>capabilities (effective and permitted),</li>
<li>open file descriptors,</li>
<li>command line and executable name.</li>
</ul>
<p>So when you start to read a tracing log, it would be easier to understand the starting state.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/issues/156">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTR6H3SPPVWDEYO66W4TSEXRWRANCNFSM4Q7U2JGA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AOVBTR6TKMKNIFANMQQ35ELSEXRWRA5CNFSM4Q7U2JGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KLW5AFA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/issues/156",
"url": "https://github.com/strace/strace/issues/156",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>