summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux/flags.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-05-21 17:04:58 -0700
committerShentubot <shentubot@google.com>2019-05-21 17:06:05 -0700
commitc8857f72696c1097a427b75f4340969e20cc0e95 (patch)
tree717f6717b7b45bbb1ac483289c4430097b8771f9 /pkg/sentry/syscalls/linux/flags.go
parent2ac0aeeb42ef517743a18224f9f6945c1c77d732 (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/sentry/syscalls/linux/flags.go')
0 files changed, 0 insertions, 0 deletions