]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 6.9: Fix UBSAN errors in zap_micro.c
authorTony Hutter <hutter2@llnl.gov>
Thu, 11 Jul 2024 23:41:26 +0000 (16:41 -0700)
committerTony Hutter <hutter2@llnl.gov>
Tue, 16 Jul 2024 22:33:31 +0000 (15:33 -0700)
commitd7bf0e5259f311dbe6466cc3655e8cdb27392fb9
treeef8aef06ab772287ca73dfb14d6e247a7b521790
parentc24a039042ef846940adae8e1dd1fc33cbb1f147
Linux 6.9: Fix UBSAN errors in zap_micro.c

You can use the UBSAN_SANITIZE_* Kbuild options to exclude certain
kernel objects from the UBSAN checks.  We previously excluded
zap_micro.o with:

UBSAN_SANITIZE_zap_micro.o := n

For some reason that didn't work for the 6.9 kernel, which wants us
to use:

UBSAN_SANITIZE_zfs/zap_micro.o := n

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #16278
Closes #16330
module/Kbuild.in