mirror_zfs/include/os/linux/spl/sys
Tony Hutter 786641dcf9
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
2023-11-12 16:26:07 -08:00
..
ia32 x86 asm: Replace .align with .balign 2023-01-24 09:04:39 -08:00
acl.h
atomic.h
byteorder.h Reduce false positives from Static Analyzers 2022-09-30 15:30:12 -07:00
callb.h
callo.h
cmn_err.h spl: cmn_err_once() should be usable in brace-less if else statements 2023-03-15 11:13:25 -07:00
condvar.h
cred.h Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
ctype.h
debug.h Add VERIFY0P() and ASSERT0P() macros. 2023-09-19 17:21:55 -07:00
disp.h Cleanup: Use OpenSolaris functions to call scheduler 2022-09-12 09:55:37 -07:00
dkio.h
errno.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
fcntl.h
file.h
inttypes.h
isa_defs.h Add loongarch64 support 2023-04-25 16:05:45 -07:00
kmem_cache.h Workaround UBSAN errors for variable arrays 2023-11-12 16:26:07 -08:00
kmem.h Use __attribute__((malloc)) on memory allocation functions 2023-05-26 15:47:52 -07:00
kstat.h Cleanup: Switch to strlcpy from strncpy 2022-09-27 16:35:29 -07:00
list.h
misc.h zed: mark disks as REMOVED when they are removed 2022-09-28 09:48:46 -07:00
mod_os.h
mutex.h Add mutex_enter_interruptible() for interruptible sleeping IOCTLs 2023-10-26 09:17:40 -07:00
param.h
proc.h
processor.h
procfs_list.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
random.h
rwlock.h
shrinker.h Linux 6.0 compat: register_shrinker() now var-arg 2022-08-08 16:18:30 -07:00
sid.h
signal.h
simd.h
stat.h
string.h
sunddi.h Remove hw_serial, ddi_strtoul() 2022-05-13 10:15:31 -07:00
sysmacros.h zfs_rename: support RENAME_* flags 2022-10-28 09:49:20 -07:00
systeminfo.h
taskq.h Improve ZFS objset sync parallelism 2023-11-06 10:38:42 -08:00
thread.h Switch from _Noreturn to __attribute__((noreturn)) 2022-03-23 08:51:00 -07:00
time.h
timer.h
trace_spl.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
trace_taskq.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
trace.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
tsd.h
types32.h
types.h intptr_t definition is canonically signed 2023-07-14 16:32:49 -07:00
uio.h zvol: Remove broken blk-mq optimization 2023-10-24 14:37:52 -07:00
user.h
vfs.h
vmem.h Use __attribute__((malloc)) on memory allocation functions 2023-05-26 15:47:52 -07:00
vmsystm.h Add membar_sync 2022-09-20 15:32:44 -07:00
vnode.h
wait.h
wmsum.h
zmod.h
zone.h Add Linux namespace delegation support 2022-06-10 09:51:46 -07:00