mirror_zfs/lib/libspl/include
Alexander Motin adcea23cb0
ZIO: Add overflow checks for linear buffers
Since we use a limited set of kmem caches, quite often we have unused
memory after the end of the buffer.  Put there up to a 512-byte canary
when built with debug to detect buffer overflows at the free time.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #15553
2023-12-01 11:50:10 -08:00
..
os Only provide execvpe(3) when needed 2023-11-30 16:04:18 -08:00
rpc Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
sys Use uint64_t instead of u_int64_t 2023-11-30 10:36:33 -08:00
assert.h ZIO: Add overflow checks for linear buffers 2023-12-01 11:50:10 -08:00
atomic.h Add membar_sync 2022-09-20 15:32:44 -07:00
libgen.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
libshare.h Make zfs-share service resilient to stale exports 2022-09-09 10:54:16 -07:00
Makefile.am Add SHA2 SIMD feature tests for libspl 2023-03-02 13:52:15 -08:00
statcommon.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
stdlib.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
string.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
umem.h Use __attribute__((malloc)) on memory allocation functions 2023-05-26 15:47:52 -07:00
unistd.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zone.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00