diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-30 14:50:21 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-30 14:50:21 +0200 |
commit | 074ac66e88fc87b79adecd2f551085a6f02fe448 (patch) | |
tree | ee0b28a1c7501028ab480b84b9d316e3b009ea26 /mkosi.conf | |
parent | Revert "ci: Build with sanitizers in mkosi" (diff) | |
download | systemd-074ac66e88fc87b79adecd2f551085a6f02fe448.tar.xz systemd-074ac66e88fc87b79adecd2f551085a6f02fe448.zip |
Revert "mkosi: Sanitizer improvements"
This reverts commit aef13ad0294b403993e19b424b26535fb65749f4.
Diffstat (limited to 'mkosi.conf')
-rw-r--r-- | mkosi.conf | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mkosi.conf b/mkosi.conf index 8ad0cb0d0f..2da8804a7e 100644 --- a/mkosi.conf +++ b/mkosi.conf @@ -10,9 +10,13 @@ MinimumVersion=23~devel @CacheDirectory=build/mkosi.cache [Content] -# The kernel versions in CentOS Stream 9 and Ubuntu 22.04 don't support orphan_file, but later -# versions of mkfs.ext4 enabled it by default, so we disable it explicitly. -Environment=SYSTEMD_REPART_MKFS_OPTIONS_EXT4="-O ^orphan_file" +# Prevent ASAN warnings when building the image and ship the real ASAN options prefixed with MKOSI_. +Environment=ASAN_OPTIONS=verify_asan_link_order=false + MKOSI_ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:disable_coredump=0:use_madv_dontdump=1 + MKOSI_UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1 + # The kernel versions in CentOS Stream 9 and Ubuntu 22.04 don't support orphan_file, but later + # versions of mkfs.ext4 enabled it by default, so we disable it explicitly. + SYSTEMD_REPART_MKFS_OPTIONS_EXT4="-O ^orphan_file" @SELinuxRelabel=no BuildSourcesEphemeral=yes |