Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4e67c38f20d95e6f6804d0b5242e37934cc3564a
      
https://github.com/WebKit/WebKit/commit/4e67c38f20d95e6f6804d0b5242e37934cc3564a
  Author: David Degazio <[email protected]>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M Source/WTF/wtf/WTFConfig.cpp

  Log Message:
  -----------
  Use mach_vm_map and copy instead of mach_vm_remap in 
setPermissionsOfConfigPage
https://bugs.webkit.org/show_bug.cgi?id=290878
rdar://148277754

Reviewed by Mark Lam.

Reverts earlier change adopting mach_vm_remap in WTF Config initialization,
we still need to preserve any pre-WTF elements of g_config but instead of
using mach_vm_remap, we now just copy the earlier elements to a side buffer
and copy them back in once we've set the permissions. This avoids depending
on mach_vm_remap on platforms that did not previously use the syscall (namely
non-JIT Apple platforms).

* Source/WTF/wtf/WTFConfig.cpp:
(WTF::setPermissionsOfConfigPage):

Canonical link: https://commits.webkit.org/293128@main



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

Reply via email to