<p>Currently the <code>pc</code> test creates a coredump, which pollutes the <code>/var/lib/systemd/coredump</code> directory.</p>
<p>This patch proposes to avoid creating the coredump by changing the limit to 0.<br>
Still <code>systemd-coredump</code> detects the SEGFAULT and records it in the journal, but at least there is no coredump effectively created.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/strace/strace/pull/196'>https://github.com/strace/strace/pull/196</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/strace/strace/pull/196/commits/edf432866a62a6f0744dd446e90e68210d6eea09">tests/pc: avoid program from creating a coredump</a></li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/strace/strace/pull/196/files#diff-1b4f67681e5586d21e01a00240a363a5bdca969d925817a5a6094fb377d2d389">tests/pc.c</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/strace/strace/pull/196.patch'>https://github.com/strace/strace/pull/196.patch</a></li>
  <li><a href='https://github.com/strace/strace/pull/196.diff'>https://github.com/strace/strace/pull/196.diff</a></li>
</ul>

<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/pull/196">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTR6SPKIAMSVAHXX44Z3UFRKB7ANCNFSM5FOWMQGQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AOVBTR3UOTKOFXA6W2V4IRLUFRKB7A5CNFSM5FOWMQG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PFTVMMQ.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/pull/196",
"url": "https://github.com/strace/strace/pull/196",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>