Repository navigation
Commit 600c599
Use SA_ONSTACK when installing signal handlers
This will cause the signal handlers to run on an alternate stack iff one
has been registered (e.g. by Asan). This way, the handlers can run
successfully even in case of stack pointer corruption or a stack overflow.
If no alternative stack has been registered, the behavior doesn't change
and the handlers will continue to run on the default stack.
Bug: chromium:1472227
Change-Id: I447538c1a226324666461130baa2d2a71aadf661
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4773135
Commit-Queue: Samuel Groß <[email protected]>
Reviewed-by: Clemens Backes <[email protected]>
Reviewed-by: Mark Mentovai <[email protected]>
Cr-Commit-Position: refs/heads/main@{#89521}1 parent 9b5b6ee commit 600c599
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
345 | 349 | | |
346 | 350 | | |
347 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
| |||
0 commit comments