Instead of hoping that the page after sbrk(0) is unmapped, map a page
with mmap and then munmap it. This won't work with CheriABI, but it's
an easy fix for now.
Details
Details
- Reviewers
ngie - Group Reviewers
cheri - Commits
- rG74ec4ca76b97: mlock_test: use mmap/munmap for unmapped pointer
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable