commit | 126796f88cd7afcf9e1e5436522f7c2a11fa533e | [log] [tgz] |
---|---|---|
author | Arve Hjønnevåg <arve@android.com> | Tue Aug 27 17:20:45 2019 -0700 |
committer | Arve Hjønnevåg <arve@android.com> | Fri Sep 06 20:28:06 2019 +0000 |
tree | 16cfcc95ac2252111edc36068f78f8bb0e6d7ff8 | |
parent | b5eb2a894b0420292be62524947c2220080485cf [diff] |
[lib][memlog] Don't map more than requested The old code rounded the start and end address to map to 1 mb boundrary. This does not work if we want to validate that the memory we map belongs to the client os. Instead only map the region requested, and reject non-page aligned requests. Bug: 140137713 Change-Id: I56182854150c3c27cbfcc80ed6ac9d69a1dc1d3e