Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: ee2d7b1914f89c9117be418b16a6d985009376fe
https://github.com/WebKit/WebKit/commit/ee2d7b1914f89c9117be418b16a6d985009376fe
Author: Marcus Plutowski <[email protected]>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp
Log Message:
-----------
Cherry-pick 283195@main (b8999f1cf051).
https://bugs.webkit.org/show_bug.cgi?id=279155
Gracefully handle guard-page mmap failures in OSAllocatorPOSIX
https://bugs.webkit.org/show_bug.cgi?id=279155
rdar://135306076
Reviewed by Yusuke Suzuki.
While it's unlikely that these mmap calls fail, it is still possible --
e.g. if the process hits the maximum number of allocations midway
through this call. This patch makes it so that we won't just ignore such
failures, and will instead clean up + tell the caller that their
allocation failed.
* Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp:
(WTF::OSAllocator::tryReserveAndCommit):
Canonical link: https://commits.webkit.org/283195@main
Canonical link: https://commits.webkit.org/282416.71@webkitglib/2.46
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes