freebsd-dev/sys/cddl
Andrew Turner 256c5d705a Don't overflow the trap frame when accessing lr or xzr.
When emulating a load pair or store pair in dtrace on arm64 we need to
copy the data between the stack and trap frame. When the registers are
either the link register or the zero register we will access memory
past the end of the trap frame as these are encoded as registers 30 and
31 respectively while the array they access only has 30 entries.

Fix this by creating 2 helper functions to perform the operation with
special cases for these registers.

Sponsored by:	Innovate UK
2020-07-17 14:39:07 +00:00
..
boot/zfs loader: create single zfs nextboot implementation 2020-06-20 06:23:31 +00:00
compat/opensolaris TODO DONE: Use sx_xholder in SPL rwlock.h 2020-03-14 00:16:15 +00:00
contrib/opensolaris Fix page fault in zfsctl_snapdir_getattr 2020-07-02 13:17:31 +00:00
dev Don't overflow the trap frame when accessing lr or xzr. 2020-07-17 14:39:07 +00:00