diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-07-16 20:19:16 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-07-18 15:18:38 -0700 |
| commit | 357ba1f8ec0326b9f285224fee8a97691485475f (patch) | |
| tree | 78f5c95c71ac6cdf57d3f5b3ca27d004dbf3ec10 /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs | |
| parent | 9e354daf7b3ef64740fe2ecf3c5aae9563b68189 (diff) | |
| download | rust-357ba1f8ec0326b9f285224fee8a97691485475f.tar.gz rust-357ba1f8ec0326b9f285224fee8a97691485475f.zip | |
unix: lift init of sigaltstack before sigaction
This is technically "not necessary", as we will "just" segfault instead if we e.g. arrive inside the handler fn with the null altstack. However, it seems incorrect to go about this hoping that segfaulting is okay, seeing as how our purpose here is to mitigate stack overflow problems. Make sure NEED_ALTSTACK syncs with PAGE_SIZE when we do. Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions
