aboutsummaryrefslogtreecommitdiff
path: root/lib/libsysdecode/support.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-11-13 00:46:50 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-11-13 00:46:50 +0000
commitba02bbbe86aeca0c95c8e7d12c1be357ebb3ddeb (patch)
tree07cfbef8f683efa180d1e15f1139eeac7955645a /lib/libsysdecode/support.c
parent821f8ae42f42f8004567a2e202d031d76525bae9 (diff)
tests: Add test for vn_io_fault1 bug
This bug was fixed in b487aca48535, but I did not have a regression test ready for it at the time. The test allocates a large buffer, faults part of it in and leaves the rest unmapped, then tries to read a 3 GiB file into it. If the bug is present, the read succeeds, but the return value exceeds the requested amount by exactly one page less than the amount that was prefaulted. PR: 298159 MFC after: 1 week Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D61475
Diffstat (limited to 'lib/libsysdecode/support.c')
0 files changed, 0 insertions, 0 deletions