commit | bb32cd063f728f42e01f233417ea5c7a384f3438 | [log] [tgz] |
---|---|---|
author | Leonard Chan <leonardchan@google.com> | Tue Apr 11 20:28:10 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 11 20:28:10 2023 +0000 |
tree | 8f4f95330af22ffdef0a33e3efb4bd6318995798 | |
parent | ef2ca445f95e65d1b12dfbd404a52b95bc40f0d9 [diff] |
[build] Ensure hwasan allocator functions return error codes As of 39ece7583a784976dea786d59e6564649b13d92d, c-style functions use the hwasan implementations, but the default behavior for allocator functions is to abort on invalid arguments (like an invalid alignment passed to posix_memalign). But some 3p tests expect an error code from invalid memalign arguments, so this also ensures the hwasan replacements return error codes instead of abort. Fixed: 125298 Change-Id: I3d2a601b6d01de4c4df14056e1c6771c7aaa6076 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/834096 Reviewed-by: Roland McGrath <mcgrathr@google.com> Commit-Queue: Leonard Chan <leonardchan@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.