summaryrefslogtreecommitdiff
path: root/cmake/tools/operf.cmake
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-02-27 12:56:27 +0100
committerSander Vrijders <sander@ouroboros.rocks>2026-03-02 08:28:12 +0100
commit1f84236b0a7bbf364b4901dc13bcd6561f26214c (patch)
treec29caff0f14a14d64a71da39468aa2809d9b9447 /cmake/tools/operf.cmake
parent68e0407e8f21a5adff66bbb57c09cb12ca9bb0c5 (diff)
downloadouroboros-be.tar.gz
ouroboros-be.zip
include: Suppress coredumpctl entries for teststestingbe
With DISABLE_TESTS_CORE_DUMPS, setrlimit(RLIMIT_CORE, 0) only prevents core dump files from being written, but when systemd-coredump is configured as a piped handler (via core_pattern), the kernel still invokes it regardless of RLIMIT_CORE, so entries appear in coredumpctl. Adding prctl(PR_SET_DUMPABLE, 0) marks the process as non-dumpable, which prevents the kernel from invoking the core dump handler entirely — including piped ones. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'cmake/tools/operf.cmake')
0 files changed, 0 insertions, 0 deletions