Title: [275003] trunk/Source/WTF
Revision
275003
Author
[email protected]
Date
2021-03-24 19:53:03 -0700 (Wed, 24 Mar 2021)

Log Message

WTF::setPermissionsOfConfigPage() should allow its VM_FLAGS_PERMANENT workaround unconditionally.
https://bugs.webkit.org/show_bug.cgi?id=223725
rdar://75813316

Reviewed by Saam Barati.

If the OS does not support the flag, then we should not require it.

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

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (275002 => 275003)


--- trunk/Source/WTF/ChangeLog	2021-03-25 02:31:29 UTC (rev 275002)
+++ trunk/Source/WTF/ChangeLog	2021-03-25 02:53:03 UTC (rev 275003)
@@ -1,3 +1,16 @@
+2021-03-24  Mark Lam  <[email protected]>
+
+        WTF::setPermissionsOfConfigPage() should allow its VM_FLAGS_PERMANENT workaround unconditionally.
+        https://bugs.webkit.org/show_bug.cgi?id=223725
+        rdar://75813316
+
+        Reviewed by Saam Barati.
+
+        If the OS does not support the flag, then we should not require it.
+
+        * wtf/WTFConfig.cpp:
+        (WTF::setPermissionsOfConfigPage):
+
 2021-03-24  Yusuke Suzuki  <[email protected]>
 
         Use StaticStringImpl instead of StringImpl::createStaticStringImpl if it is not dynamic string content

Modified: trunk/Source/WTF/wtf/WTFConfig.cpp (275002 => 275003)


--- trunk/Source/WTF/wtf/WTFConfig.cpp	2021-03-25 02:31:29 UTC (rev 275002)
+++ trunk/Source/WTF/wtf/WTFConfig.cpp	2021-03-25 02:53:03 UTC (rev 275003)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2020-2021 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -77,8 +77,7 @@
 
         auto result = attemptVMMapping();
 
-#if HAVE(VM_FLAGS_PERMANENT) && PLATFORM(IOS_FAMILY_SIMULATOR)
-        // FIXME: Remove this when the oldest OS we support simulator on has VM_FLAGS_PERMANENT
+#if HAVE(VM_FLAGS_PERMANENT)
         if (result != KERN_SUCCESS) {
             flags &= ~VM_FLAGS_PERMANENT;
             result = attemptVMMapping();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to