REOPENED 279155
WTF::OSAllocatorPOSIX should gracefully handle guard page remap failures
https://bugs.webkit.org/show_bug.cgi?id=279155
Summary WTF::OSAllocatorPOSIX should gracefully handle guard page remap failures
Marcus Plutowski
Reported 2024-09-04 16:09:20 PDT
Currently, OSAllocatorPOSIX.cpp:tryReserveAndCommit uses `mmap` to remap the guard pages at the beginning/end of an allocation (when that allocation includes guard pages). Even though these allocations do not allocate _new_ memory per se, they can still fail — we should detect any such failures and propagate them upwards. rdar://135306076
Attachments
Marcus Plutowski
Comment 1 2024-09-04 16:13:20 PDT
EWS
Comment 2 2024-09-04 23:53:52 PDT
Committed 283195@main (b8999f1cf051): <https://commits.webkit.org/283195@main> Reviewed commits have been landed. Closing PR #33150 and removing active labels.
WebKit Commit Bot
Comment 3 2024-09-06 03:48:02 PDT
Re-opened since this is blocked by bug 279260
Note You need to log in before you can comment on or make changes to this bug.