Cast &end to vm_offset_t before subtracting VM_MIN_KERNEL_ADDRESS to
ensure the resulting size is correct for PRELOAD_PUSH_VALUE.
Previously the correct size was effectively divided by sizeof(void *).
Obtained from: CheriBSD
Differential D53699
arm64: Fix calculating kernel size for preload metadata Authored by jhb on Tue, Nov 11, 8:11 PM. Tags None Referenced Files
Details
Cast &end to vm_offset_t before subtracting VM_MIN_KERNEL_ADDRESS to Obtained from: CheriBSD
Diff Detail
|