Changeset 275003 in webkit


Ignore:
Timestamp:
Mar 24, 2021 7:53:03 PM (3 years ago)
Author:
mark.lam@apple.com
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):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r275002 r275003  
     12021-03-24  Mark Lam  <mark.lam@apple.com>
     2
     3        WTF::setPermissionsOfConfigPage() should allow its VM_FLAGS_PERMANENT workaround unconditionally.
     4        https://bugs.webkit.org/show_bug.cgi?id=223725
     5        rdar://75813316
     6
     7        Reviewed by Saam Barati.
     8
     9        If the OS does not support the flag, then we should not require it.
     10
     11        * wtf/WTFConfig.cpp:
     12        (WTF::setPermissionsOfConfigPage):
     13
    1142021-03-24  Yusuke Suzuki  <ysuzuki@apple.com>
    215
  • trunk/Source/WTF/wtf/WTFConfig.cpp

    r274898 r275003  
    11/*
    2  * Copyright (C) 2020 Apple Inc. All rights reserved.
     2 * Copyright (C) 2020-2021 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    7878        auto result = attemptVMMapping();
    7979
    80 #if HAVE(VM_FLAGS_PERMANENT) && PLATFORM(IOS_FAMILY_SIMULATOR)
    81         // FIXME: Remove this when the oldest OS we support simulator on has VM_FLAGS_PERMANENT
     80#if HAVE(VM_FLAGS_PERMANENT)
    8281        if (result != KERN_SUCCESS) {
    8382            flags &= ~VM_FLAGS_PERMANENT;
Note: See TracChangeset for help on using the changeset viewer.