From fd2e3d1a69b5b62166482547d6926903900e779c Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 26 Apr 2023 14:32:04 +0100 Subject: [PATCH] [PATCH] test: add coverage for CoredumpFilter=all Origin: upstream, https://github.com/systemd/systemd/commit/cf636aa59eb8c848ed04d5b08aac0acf3f6683d9 Forwarded: not-needed Last-Update: 2025-07-27 Gbp-Pq: Name fix-stack-overflow-in-coredump-filter-2.patch --- test/units/testsuite-74.coredump.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/units/testsuite-74.coredump.sh b/test/units/testsuite-74.coredump.sh index ff23418b..99c3f932 100755 --- a/test/units/testsuite-74.coredump.sh +++ b/test/units/testsuite-74.coredump.sh @@ -126,6 +126,8 @@ coredumpctl info COREDUMP_TIMESTAMP=1679509902000000 coredumpctl info COREDUMP_HOSTNAME="youmachine" coredumpctl info COREDUMP_DUMPABLE="1" +# This used to cause a stack overflow +systemd-run -t --property CoredumpFilter=all ls /tmp systemd-run -t --property CoredumpFilter=default ls /tmp (! coredumpctl --hello-world) -- 2.30.2