Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util/memhooks: Fix a bug when calculating mprotect region
In ofi_write_patch, the bound should be the page end for the end of the address + data_size. And since it's the end of the page, when calculating the length, it needs to add 1 to make the length a multiple of page size. Signed-off-by: Shi Jin <[email protected]>
- Loading branch information