32715d1d5b
Even if the main program disables executable stacks, dlopen'ing a library that doesn't itself disable executable stack will switch the stack to executable. (Presumably in the name of compatability with GNU nested functions.) Dart does not need executable stacks, and executable stacks are an additional attack surface. TEST=readelf Bug: b/229648756 Change-Id: Ia8c234ebc6178a26528d37b1359a10dd42039a9b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/241540 Reviewed-by: Tess Strickland <sstrickl@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>