[strace/strace] tests/pc: avoid program from creating a coredump (#196)

Renaud Métrich notifications at github.com
Wed Oct 6 14:09:35 UTC 2021


Currently the `pc` test creates a coredump, which pollutes the `/var/lib/systemd/coredump` directory.

This patch proposes to avoid creating the coredump by changing the limit to 0.
Still `systemd-coredump` detects the SEGFAULT and records it in the journal, but at least there is no coredump effectively created.
You can view, comment on, or merge this pull request online at:

  https://github.com/strace/strace/pull/196

-- Commit Summary --

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

-- File Changes --

    M tests/pc.c (7)

-- Patch Links --

https://github.com/strace/strace/pull/196.patch
https://github.com/strace/strace/pull/196.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20211006/b24a5a1f/attachment.htm>


More information about the Strace-devel mailing list