commit | bb0b03e29b8951d3092a76ef6d87e5cc194562f0 | [log] [tgz] |
---|---|---|
author | Matthew Denton <[email protected]> | Thu Jul 22 16:18:13 2021 |
committer | Chromium LUCI CQ <[email protected]> | Thu Jul 22 16:18:13 2021 |
tree | 35d8c9ba52de9f8b9ce58c58a6fe0a3a97243437 | |
parent | 7c1f3c31208a278f50c8b274853a2a723cb4ef68 [diff] |
Linux: Add ability to reset stack canaries after fork Stack protectors remain the same after forking, so reading the stack protector in one process (e.g. a renderer) reveals to an attacker the stack protector of the ancestor zygote and its children, including future children. This CL adds the capability to reset stack canaries after fork, which requires the functions already on the call stack to be compiled without stack protectors (or else they will use the original canary and crash on return). A command line flag is added to enable the behavior, which will be added by default to the chrome command line in a future CL. Bug: 1206626 Change-Id: I26e53c91986eda2bdf238bf912832649b7a14327 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2895917 Reviewed-by: Nico Weber <[email protected]> Reviewed-by: Avi Drissman <[email protected]> Reviewed-by: Robert Sesek <[email protected]> Commit-Queue: Matthew Denton <[email protected]> Cr-Commit-Position: refs/heads/master@{#904353}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.