Skip to content

Commit

Permalink
Remove powerful entitlements (alpha 3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Benedict committed Apr 11, 2023
1 parent 8038443 commit 846b589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
6 changes: 2 additions & 4 deletions Tools/Scripts/webkitpy/port/ios_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ class IOSSimulatorPort(IOSPort):
DEVICE_MANAGER = SimulatedDeviceManager

DEFAULT_DEVICE_TYPES = [
DeviceType(hardware_family='iPhone', hardware_type='12'),
DeviceType(hardware_family='iPad', hardware_type='(9th generation)'),
DeviceType(hardware_family='iPhone', hardware_type='7'),
DeviceType(hardware_family='iPad', hardware_type='Air 2'),
]
SDK = apple_additions().get_sdk('iphonesimulator') if apple_additions() else 'iphonesimulator'

Expand Down Expand Up @@ -113,7 +112,6 @@ class IPhoneSimulatorPort(IOSSimulatorPort):

DEVICE_TYPE = DeviceType(hardware_family='iPhone')
DEFAULT_DEVICE_TYPES = [
DeviceType(hardware_family='iPhone', hardware_type='12'),
DeviceType(hardware_family='iPhone', hardware_type='7'),
]

Expand All @@ -126,7 +124,7 @@ class IPadSimulatorPort(IOSSimulatorPort):
port_name = 'ipad-simulator'

DEVICE_TYPE = DeviceType(hardware_family='iPad')
DEFAULT_DEVICE_TYPES = [DeviceType(hardware_family='iPad', hardware_type='(9th generation)')]
DEFAULT_DEVICE_TYPES = [DeviceType(hardware_family='iPad', hardware_type='Air 2')]

def __init__(self, *args, **kwargs):
super(IPadSimulatorPort, self).__init__(*args, **kwargs)
Expand Down
18 changes: 0 additions & 18 deletions script_fakesigner.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
<true/>
<key>com.apple.private.coremedia.pidinheritance.allow</key>
<true/>
<key>com.apple.private.cs.debugger</key>
<true/>
<key>com.apple.private.dmd.policy</key>
<true/>
<key>com.apple.private.gain-map-access</key>
Expand All @@ -67,12 +65,8 @@
<true/>
<key>com.apple.private.pac.exception</key>
<true/>
<key>com.apple.private.persona-mgmt</key>
<true/>
<key>com.apple.private.secure-apsclient</key>
<true/>
<key>com.apple.private.security.disk-device-access</key>
<true/>
<key>com.apple.private.security.enable-state-flags</key>
<array>
<string>EnableMachBootstrap</string>
Expand All @@ -95,12 +89,8 @@
</array>
<key>com.apple.private.security.no-sandbox</key>
<true/>
<key>com.apple.private.security.storage.AppDataContainers</key>
<true/>
<key>com.apple.private.security.system-application</key>
<true/>
<key>com.apple.private.skip-library-validation</key>
<true/>
<key>com.apple.private.tcc.manager.check-by-audit-token</key>
<array>
<string>kTCCServiceCyberKitIntelligentTrackingPrevention</string>
Expand Down Expand Up @@ -145,10 +135,6 @@
<string>/private/var/containers/Bundle/Application/</string>
<string>/Applications/</string>
</array>
<key>com.apple.security.exception.files.absolute-path.read-write</key>
<array>
<string>/</string>
</array>
<key>com.apple.security.exception.files.home-relative-path.read-only</key>
<array>
<string>/Library/Caches/com.apple.storeservices/</string>
Expand Down Expand Up @@ -212,8 +198,6 @@
<string>com.apple.AuthenticationServices.AutoFill</string>
<string>com.apple.donotdisturb.appconfiguration.service</string>
</array>
<key>com.apple.security.files.all</key>
<true/>
<key>com.apple.security.get-task-allow</key>
<true/>
<key>com.apple.security.iokit-user-client-class</key>
Expand Down Expand Up @@ -250,8 +234,6 @@
<true/>
<key>com.apple.webkit.extension.microphone</key>
<true/>
<key>dynamic-codesigning</key>
<true/>
<key>platform-application</key>
<true/>
</dict>
Expand Down

0 comments on commit 846b589

Please sign in to comment.