aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/capsicum/fexecve.cc
diff options
context:
space:
mode:
authorMinsoo Choo <mchoo@FreeBSD.org>2026-09-16 00:14:45 +0000
committerMinsoo Choo <mchoo@FreeBSD.org>2026-09-28 15:48:47 +0000
commit4cb357c61c004f4cf27ca12e702b44a81f2752ab (patch)
treef0a7e20798a8488166b06c28c11d82ed831e7092 /tests/sys/capsicum/fexecve.cc
parent61f98a98250da7bd2c80c6d93d0032961d7f2fad (diff)
arm: pad minidump page tableHEADmain
libkvm locates the sparse page array after the page-rounded PTE table size, but the ARM minidump writer emitted only the unrounded size. When the table size was not page-aligned, libkvm therefore read every dumped physical page at the wrong offset. The mismatch was introduced when libkvm began rounding ptesize. It has affected ARM minidumps since ffdeef323449 ("libkvm: Improve physical address lookup scaling."). It is exposed when the dumped KVA span is not a multiple of 4 MiB. Zero-pad the final PTE page and include the padding in the dump size. Reviewed by: jhb Approved by: jhb (mentor) Fixes: ffdeef323449 ("libkvm: Improve physical address lookup scaling.") MFC after: 2 weeks Sponsored by: FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59716
Diffstat (limited to 'tests/sys/capsicum/fexecve.cc')
0 files changed, 0 insertions, 0 deletions