[Webkit-unassigned] [Bug 279155] New: WTF::OSAllocatorPOSIX should gracefully handle guard page remap failures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 4 16:09:20 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279155

            Bug ID: 279155
           Summary: WTF::OSAllocatorPOSIX should gracefully handle guard
                    page remap failures
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: marcus_plutowski at apple.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240904/902799fe/attachment.htm>


More information about the webkit-unassigned mailing list