Skip to content

Commit 846b589

Browse files
author
Matthew Benedict
committed
Remove powerful entitlements (alpha 3)
1 parent 8038443 commit 846b589

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

Tools/Scripts/webkitpy/port/ios_simulator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ class IOSSimulatorPort(IOSPort):
4444
DEVICE_MANAGER = SimulatedDeviceManager
4545

4646
DEFAULT_DEVICE_TYPES = [
47-
DeviceType(hardware_family='iPhone', hardware_type='12'),
48-
DeviceType(hardware_family='iPad', hardware_type='(9th generation)'),
4947
DeviceType(hardware_family='iPhone', hardware_type='7'),
48+
DeviceType(hardware_family='iPad', hardware_type='Air 2'),
5049
]
5150
SDK = apple_additions().get_sdk('iphonesimulator') if apple_additions() else 'iphonesimulator'
5251

@@ -113,7 +112,6 @@ class IPhoneSimulatorPort(IOSSimulatorPort):
113112

114113
DEVICE_TYPE = DeviceType(hardware_family='iPhone')
115114
DEFAULT_DEVICE_TYPES = [
116-
DeviceType(hardware_family='iPhone', hardware_type='12'),
117115
DeviceType(hardware_family='iPhone', hardware_type='7'),
118116
]
119117

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

128126
DEVICE_TYPE = DeviceType(hardware_family='iPad')
129-
DEFAULT_DEVICE_TYPES = [DeviceType(hardware_family='iPad', hardware_type='(9th generation)')]
127+
DEFAULT_DEVICE_TYPES = [DeviceType(hardware_family='iPad', hardware_type='Air 2')]
130128

131129
def __init__(self, *args, **kwargs):
132130
super(IPadSimulatorPort, self).__init__(*args, **kwargs)

script_fakesigner.entitlements

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
<true/>
5454
<key>com.apple.private.coremedia.pidinheritance.allow</key>
5555
<true/>
56-
<key>com.apple.private.cs.debugger</key>
57-
<true/>
5856
<key>com.apple.private.dmd.policy</key>
5957
<true/>
6058
<key>com.apple.private.gain-map-access</key>
@@ -67,12 +65,8 @@
6765
<true/>
6866
<key>com.apple.private.pac.exception</key>
6967
<true/>
70-
<key>com.apple.private.persona-mgmt</key>
71-
<true/>
7268
<key>com.apple.private.secure-apsclient</key>
7369
<true/>
74-
<key>com.apple.private.security.disk-device-access</key>
75-
<true/>
7670
<key>com.apple.private.security.enable-state-flags</key>
7771
<array>
7872
<string>EnableMachBootstrap</string>
@@ -95,12 +89,8 @@
9589
</array>
9690
<key>com.apple.private.security.no-sandbox</key>
9791
<true/>
98-
<key>com.apple.private.security.storage.AppDataContainers</key>
99-
<true/>
10092
<key>com.apple.private.security.system-application</key>
10193
<true/>
102-
<key>com.apple.private.skip-library-validation</key>
103-
<true/>
10494
<key>com.apple.private.tcc.manager.check-by-audit-token</key>
10595
<array>
10696
<string>kTCCServiceCyberKitIntelligentTrackingPrevention</string>
@@ -145,10 +135,6 @@
145135
<string>/private/var/containers/Bundle/Application/</string>
146136
<string>/Applications/</string>
147137
</array>
148-
<key>com.apple.security.exception.files.absolute-path.read-write</key>
149-
<array>
150-
<string>/</string>
151-
</array>
152138
<key>com.apple.security.exception.files.home-relative-path.read-only</key>
153139
<array>
154140
<string>/Library/Caches/com.apple.storeservices/</string>
@@ -212,8 +198,6 @@
212198
<string>com.apple.AuthenticationServices.AutoFill</string>
213199
<string>com.apple.donotdisturb.appconfiguration.service</string>
214200
</array>
215-
<key>com.apple.security.files.all</key>
216-
<true/>
217201
<key>com.apple.security.get-task-allow</key>
218202
<true/>
219203
<key>com.apple.security.iokit-user-client-class</key>
@@ -250,8 +234,6 @@
250234
<true/>
251235
<key>com.apple.webkit.extension.microphone</key>
252236
<true/>
253-
<key>dynamic-codesigning</key>
254-
<true/>
255237
<key>platform-application</key>
256238
<true/>
257239
</dict>

0 commit comments

Comments
 (0)