From: Tobias Brunner Date: Fri, 15 Aug 2025 13:11:48 +0000 (+0200) Subject: testing: Ignore unknown memory in leak detective X-Git-Tag: 6.0.3dr1~1^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9986953448dc198c3c466a45e0d4f7d90c17af8;p=thirdparty%2Fstrongswan.git testing: Ignore unknown memory in leak detective This is set in two locations for systemd services and login shells. The memory is freed by OPENSSL_cleanup(). --- diff --git a/testing/hosts/default/etc/ssh/sshd_config b/testing/hosts/default/etc/ssh/sshd_config index bed9e82382..622887f047 100644 --- a/testing/hosts/default/etc/ssh/sshd_config +++ b/testing/hosts/default/etc/ssh/sshd_config @@ -13,4 +13,5 @@ PrintLastLog no UsePAM no AcceptEnv LANG LC_* AcceptEnv LEAK_DETECTIVE_LOG +SetEnv LEAK_DETECTIVE_IGNORE_UNKNOWN=1 Subsystem sftp /usr/lib/openssh/sftp-server diff --git a/testing/hosts/default/etc/systemd/system.conf.d/99-ignore-unknown-memory.conf b/testing/hosts/default/etc/systemd/system.conf.d/99-ignore-unknown-memory.conf new file mode 100644 index 0000000000..acf2eee6d9 --- /dev/null +++ b/testing/hosts/default/etc/systemd/system.conf.d/99-ignore-unknown-memory.conf @@ -0,0 +1,2 @@ +[Manager] +DefaultEnvironment=LEAK_DETECTIVE_IGNORE_UNKNOWN=1