freebsd-dev/sys/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
..
boot/zfs stand: remove ZFS warning about computered but unused variable 2023-05-01 15:02:54 -06:00
compat/opensolaris opensolaris: Delete unused sources 2022-09-29 08:34:29 -04:00
contrib/opensolaris dtrace: remove ifdef around dtrace_instr_size() 2023-05-23 17:19:04 +03:00
dev kinst: fix memcpy() tracing crash 2023-05-26 18:43:37 +03:00