⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 276683 in webkit


Ignore:
Timestamp:
Apr 27, 2021, 5:44:06 PM (5 years ago)
Author:
Alan Coon
Message:

Cherry-pick r276590. rdar://problem/77235569

[iOS] Update sandbox message filter syntax
​https://bugs.webkit.org/show_bug.cgi?id=223384

Reviewed by Brent Fulgham.

Update sandbox message filter syntax on iOS. The previous syntax should also still be supported.

  • Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:

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

Location:
branches/safari-612.1.12-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-612.1.12-branch/Source/WebKit/ChangeLog

    r276574 r276683  
     12021-04-27  Ruben Turcios  <rubent_22@apple.com>
     2
     3        Cherry-pick r276590. rdar://problem/77235569
     4
     5    [iOS] Update sandbox message filter syntax
     6    https://bugs.webkit.org/show_bug.cgi?id=223384
     7   
     8    Reviewed by Brent Fulgham.
     9   
     10    Update sandbox message filter syntax on iOS. The previous syntax should also still be supported.
     11   
     12    * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     13   
     14   
     15    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     16
     17    2021-04-26  Per Arne Vollan  <pvollan@apple.com>
     18
     19            [iOS] Update sandbox message filter syntax
     20            https://bugs.webkit.org/show_bug.cgi?id=223384
     21
     22            Reviewed by Brent Fulgham.
     23
     24            Update sandbox message filter syntax on iOS. The previous syntax should also still be supported.
     25
     26            * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     27
    1282021-04-25  Devin Rousso  <drousso@apple.com>
    229
  • branches/safari-612.1.12-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r276519 r276683  
    14591459)
    14601460
    1461 (when (defined? 'mach-bootstrap)
     1461(define-once (mach-bootstrap-message-numbers)
     1462    (message-number
     1463        206
     1464        207
     1465        711
     1466        712
     1467        718
     1468        800
     1469        802
     1470        803
     1471        804
     1472        805
     1473    )
     1474)
     1475
     1476(if (defined? '*sbpl-version*)
     1477    (allow mach-bootstrap
     1478        (apply-message-filter
     1479            (deny mach-message-send (with telemetry))
     1480            (allow mach-message-send
     1481                (mach-bootstrap-message-numbers)
     1482            )
     1483        )
     1484    )
     1485;; else
    14621486    (allow mach-bootstrap
    14631487        (apply-message-filter
    14641488            (deny xpc-message-send (with telemetry))
    1465             (allow xpc-message-send (message-number
    1466                 206
    1467                 207
    1468                 711
    1469                 712
    1470                 718
    1471                 800
    1472                 802
    1473                 803
    1474                 804
    1475                 805
    1476             ))
     1489            (allow xpc-message-send
     1490                (mach-bootstrap-message-numbers)
     1491            )
    14771492        )
    14781493    )
Note: See TracChangeset for help on using the changeset viewer.