forked from qmonnet/rbpf
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MemoryRegion: add tests and fix unaligned mapping bug (#445)
vm_to_host(vm_addr, 0) returns Ok(_), so we need to check for 0-len before calling it to avoid spinning
- Loading branch information
1 parent
c8bdc66
commit 37d32c9
Showing
1 changed file
with
302 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters