diff options
author | Michael Pratt <mpratt@google.com> | 2019-05-21 17:04:58 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-05-21 17:06:05 -0700 |
commit | c8857f72696c1097a427b75f4340969e20cc0e95 (patch) | |
tree | 717f6717b7b45bbb1ac483289c4430097b8771f9 /pkg/p9/pool_test.go | |
parent | 2ac0aeeb42ef517743a18224f9f6945c1c77d732 (diff) |
Fix inconsistencies in ELF anonymous mappings
* A segment with filesz == 0, memsz > 0 should be an anonymous only
mapping. We were failing to load such an ELF.
* Anonymous pages are always mapped RW, regardless of the segment
protections.
PiperOrigin-RevId: 249355239
Change-Id: I251e5c0ce8848cf8420c3aadf337b0d77b1ad991
Diffstat (limited to 'pkg/p9/pool_test.go')
0 files changed, 0 insertions, 0 deletions