test(libkernel): audit madvise and posix_madvise null address bounds #18571
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18571"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by slopgobblercobbler on 2026-11-11T22:05:09Z.
What
Audit
madviseandposix_madvisenull address bounds folded intocore/libs/tests/GuestMemory.cpp.madvise(nullptr, page, 4)returns 0.posix_madvise(nullptr, page, 4)returns 22 (EINVAL).GuestKernelMadviseDontneed.cpptarget and CMake entry as requested by maintainer @oneandonlydean.Tested
python tools/check_conventions.py --base upstream/main --head HEAD(0 errors).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Pull request closed