Title: [275004] branches/safari-612.1.7-branch/Source/WTF
Revision
275004
Author
[email protected]
Date
2021-03-24 19:57:01 -0700 (Wed, 24 Mar 2021)

Log Message

Cherry-pick r275003. rdar://problem/75813316

    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):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-612.1.7-branch/Source/WTF/ChangeLog (275003 => 275004)


--- branches/safari-612.1.7-branch/Source/WTF/ChangeLog	2021-03-25 02:53:03 UTC (rev 275003)
+++ branches/safari-612.1.7-branch/Source/WTF/ChangeLog	2021-03-25 02:57:01 UTC (rev 275004)
@@ -1,5 +1,37 @@
 2021-03-24  Alan Coon  <[email protected]>
 
+        Cherry-pick r275003. rdar://problem/75813316
+
+    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):
+    
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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  Alan Coon  <[email protected]>
+
         Cherry-pick r274898. rdar://problem/75815633
 
     Don't require VM_FLAGS_PERMANENT on the simulator builds

Modified: branches/safari-612.1.7-branch/Source/WTF/wtf/WTFConfig.cpp (275003 => 275004)


--- branches/safari-612.1.7-branch/Source/WTF/wtf/WTFConfig.cpp	2021-03-25 02:53:03 UTC (rev 275003)
+++ branches/safari-612.1.7-branch/Source/WTF/wtf/WTFConfig.cpp	2021-03-25 02:57:01 UTC (rev 275004)
@@ -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