mirror_zfs/include/sys
Tony Hutter bb1dd98bcc Workaround UBSAN errors for variable arrays
This gets around UBSAN errors when using arrays at the end of
structs.  It converts some zero-length arrays to variable length
arrays and disables UBSAN checking on certain modules.

It is based off of the patch from #15460.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Issue #15145
Closes #15510
2024-02-05 10:03:32 -08:00
..
crypto
fm
fs Add the ability to uninitialize 2023-05-26 10:09:04 -07:00
lua
sysevent
zstd
abd_impl.h
abd.h
aggsum.h
arc_impl.h
arc.h
avl_impl.h
avl.h
bitops.h
blkptr.h
bplist.h
bpobj.h
bptree.h
bqueue.h
btree.h
dataset_kstats.h
dbuf.h
ddt.h
dmu_impl.h
dmu_objset.h Silence clang warning of flexible array not at end 2023-06-05 10:59:02 -07:00
dmu_recv.h
dmu_redact.h
dmu_send.h
dmu_traverse.h
dmu_tx.h Add dmu_tx_hold_append() interface 2023-05-11 09:08:08 -07:00
dmu_zfetch.h
dmu.h Add dmu_tx_hold_append() interface 2023-05-11 09:08:08 -07:00
dnode.h Linux 6.3 compat: Fix memcpy "detected field-spanning write" error 2023-06-05 10:59:02 -07:00
dsl_bookmark.h
dsl_crypt.h
dsl_dataset.h
dsl_deadlist.h
dsl_deleg.h
dsl_destroy.h
dsl_dir.h
dsl_pool.h
dsl_prop.h
dsl_scan.h
dsl_synctask.h
dsl_userhold.h
edonr.h
efi_partition.h
frame.h
hkdf.h
Makefile.am
metaslab_impl.h
metaslab.h
mmp.h
mntent.h
mod.h
multilist.h
note.h
nvpair_impl.h
nvpair.h
objlist.h Implement Redacted Send/Receive 2019-06-19 09:48:12 -07:00
pathname.h
qat.h
range_tree.h
rrwlock.h
sa_impl.h Rename refcount.h to zfs_refcount.h 2020-07-29 16:35:33 -07:00
sa.h
skein.h OpenZFS 4185 - add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R 2016-10-03 14:51:15 -07:00
spa_boot.h
spa_checkpoint.h
spa_checksum.h
spa_impl.h
spa_log_spacemap.h
spa.h Allow MMP to bypass waiting for other threads 2023-04-24 12:55:07 -07:00
space_map.h
space_reftree.h
sysevent.h
txg_impl.h
txg.h
u8_textprep_data.h
u8_textprep.h
uberblock_impl.h
uberblock.h
uio_impl.h
unique.h
uuid.h
vdev_disk.h Make struct vdev_disk_t be platform private 2020-06-16 11:43:33 -07:00
vdev_draid.h
vdev_file.h
vdev_impl.h zed: mark disks as REMOVED when they are removed 2023-03-27 11:32:09 -07:00
vdev_indirect_births.h
vdev_indirect_mapping.h
vdev_initialize.h Add the ability to uninitialize 2023-05-26 10:09:04 -07:00
vdev_raidz_impl.h Workaround UBSAN errors for variable arrays 2024-02-05 10:03:32 -08:00
vdev_raidz.h
vdev_rebuild.h
vdev_removal.h
vdev_trim.h Trim L2ARC 2020-06-09 10:15:08 -07:00
vdev.h zed: mark disks as REMOVED when they are removed 2023-03-27 11:32:09 -07:00
xvattr.h
zap_impl.h
zap_leaf.h
zap.h
zcp_global.h
zcp_iter.h
zcp_prop.h
zcp_set.h
zcp.h
zfeature.h
zfs_acl.h Return an error code from zfs_acl_chmod_setattr 2019-11-01 10:19:11 -07:00
zfs_bootenv.h
zfs_context.h zed: mark disks as REMOVED when they are removed 2023-03-27 11:32:09 -07:00
zfs_debug.h
zfs_delay.h
zfs_file.h
zfs_fuid.h
zfs_ioctl_impl.h
zfs_ioctl.h
zfs_onexit.h
zfs_project.h
zfs_quota.h
zfs_racct.h
zfs_ratelimit.h
zfs_refcount.h
zfs_rlock.h
zfs_sa.h
zfs_stat.h
zfs_sysfs.h
zfs_vfsops.h
zfs_vnops.h
zfs_znode.h Linux: use filemap_range_has_page() 2023-06-05 10:59:02 -07:00
zil_impl.h
zil.h
zio_checksum.h
zio_compress.h
zio_crypt.h
zio_impl.h
zio_priority.h
zio.h
zrlock.h
zthr.h
zvol_impl.h
zvol.h