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
usr.sbin Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile
Makefile.inc