freebsd-skq/sys/arm64
Andrew Turner 521018d379 Ensure we check the program state set in the trap frame on arm and arm64.
This value may be set by userspace so we need to check it before using it.
If this is not done correctly on exception return the kernel may continue
in kernel mode with all registers set to a userspace controlled value. Fix
this by moving the check into set_mcontext, and also add the missing
sanitisation from the arm64 set_regs.

Discussed with:	security-officer@
MFC after:	3 days
Sponsored by:	DARPA, AFRL
2017-11-23 17:40:40 +00:00
..
acpica Add support to find the arm64 serial using the ACPI tables. This uses the 2016-11-21 19:26:58 +00:00
arm64 Ensure we check the program state set in the trap frame on arm and arm64. 2017-11-23 17:40:40 +00:00
cavium If ofw_bus_msimap fails don't try to use the invalid MSI/MSI-X parent node. 2017-03-16 17:49:37 +00:00
cloudabi64 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
conf Add a driver for the EFI RTC. This uses the EFI Runtime Services to query 2017-11-21 17:23:16 +00:00
include Ensure we check the program state set in the trap frame on arm and arm64. 2017-11-23 17:40:40 +00:00