commit | 0048711f5135c4ab0c4630635576b0ffe6285f0f | [log] [tgz] |
---|---|---|
author | Allen Webb <allenwebb@google.com> | Mon Oct 10 19:41:02 2022 +0000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 11 20:18:05 2022 +0000 |
tree | 6a1fcfb0b20089ca28c02b1d5e09a588e32a489d | |
parent | b9a562f8349bc006039b794d33d6943807c8f62a [diff] |
Limit arg2 for mmap and mprotect to avoid writeable executable memory. BUG=b:172212144 TEST=Cq passes Change-Id: I5f969a506290d19224585b01c208c9603a3dc233 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/mosys/+/3942554 Commit-Queue: Allen Webb <allenwebb@google.com> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Tested-by: Allen Webb <allenwebb@google.com>