freebsd-dev/cddl
Christos Margiolis 5c134fba22 kinst: fix memcpy() tracing crash
Tracing memcpy() would crash the kernel, because we'd also trace the
memcpy() calls from kinst_invop(). To fix this, introduce kinst_memcpy()
whose arguments are 'volatile', so that we avoid having the compiler
replace it with a regular memcpy().

Reviewed by:	markj
Approved by:	markj (mentor)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D40284
2023-05-26 18:43:37 +03:00
..
compat/opensolaris Delete obsolete Solaris compat header file stdlib.h 2023-02-24 02:00:09 +08:00
contrib/opensolaris kinst: fix memcpy() tracing crash 2023-05-26 18:43:37 +03:00
lib dtrace: add register bindings for arm64 2023-05-23 17:19:25 +03:00
sbin Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
share pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
tests
usr.bin Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
usr.libexec cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
usr.sbin Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00