com.apple.WebKit.GPU.Development
Group: ⬆️ Updated
+120−262
| 1 | ) | |
| 2 | ||
| 3 | (deny darwin-notification-post) | |
| 4 | + | (allow darwin-notification-post |
| 5 | + | (with report) |
| 6 | + | (system-attribute developer-mode) |
| 7 | + | ) |
| 8 | (allow darwin-notification-post | |
| 9 | (require-any | |
| 10 | (notification-name "AppleDatePreferencesChangedNotification") | |
| 11 | ||
| 12 | (deny file-link) | |
| 13 | ||
| 14 | (deny file-map-executable) | |
| 15 | + | (allow file-map-executable |
| 16 | + | (with report) |
| 17 | + | (system-attribute developer-mode) |
| 18 | + | ) |
| 19 | (allow file-map-executable | |
| 20 | (require-any | |
| 21 | (extension "com.apple.sandbox.executable") | |
| 22 | ||
| 23 | (extension "com.apple.webkit.camera") | |
| 24 | ) | |
| 25 | ) | |
| 26 | − | (allow file-read* |
| 27 | − | (require-all |
| 28 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.mobilemail.plist")) |
| 29 | − | (require-any |
| 30 | − | (literal "/dev/dtracehelper") |
| 31 | − | (literal "/dev/random") |
| 32 | − | (literal "/dev/urandom") |
| 33 | − | (literal "/private/etc/passwd") |
| 34 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist") |
| 35 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin") |
| 36 | − | (literal "/private/var/preferences/com.apple.networkd.plist") |
| 37 | − | (require-all |
| 38 | − | (extension "com.apple.sandbox.container") |
| 39 | − | (require-any |
| 40 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/Library/Caches") |
| 41 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 42 | − | ) |
| 43 | − | ) |
| 44 | − | (require-any |
| 45 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.plist") |
| 46 | − | (literal "${HOME}/Library/Preferences/com.apple.coreaudio.plist") |
| 47 | − | (literal "${HOME}/Library/Preferences/com.apple.coremedia.plist") |
| 48 | − | (literal "${HOME}/Library/Preferences/com.apple.corevideo.plist") |
| 49 | − | (literal "${HOME}/Library/Preferences/com.apple.itunesstored.plist") |
| 50 | − | (literal "${HOME}/Library/Preferences/com.apple.mediaremote.plist") |
| 51 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font7") |
| 52 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font8") |
| 53 | − | ) |
| 54 | − | (require-any |
| 55 | − | (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo") |
| 56 | − | (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo") |
| 57 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo") |
| 58 | − | ) |
| 59 | − | (subpath "/") |
| 60 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.icloud.findmydevice.managed/Library") |
| 61 | − | ) |
| 62 | − | ) |
| 63 | − | ) |
| 64 | (allow file-read* | |
| 65 | (require-any | |
| 66 | (extension "com.apple.app-sandbox.read") | |
| 67 | ||
| 68 | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences_m.plist") | |
| 69 | (literal "${HOME}/Library/Preferences/com.apple.Accessibility.plist") | |
| 70 | (literal "${HOME}/Library/Preferences/com.apple.Metal.plist") | |
| 71 | + | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.plist") |
| 72 | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.videoperformancehud.plist") | |
| 73 | (literal "${HOME}/Library/Preferences/com.apple.coreanimation.plist") | |
| 74 | + | (literal "${HOME}/Library/Preferences/com.apple.coreaudio.plist") |
| 75 | + | (literal "${HOME}/Library/Preferences/com.apple.coremedia.plist") |
| 76 | + | (literal "${HOME}/Library/Preferences/com.apple.corevideo.plist") |
| 77 | + | (literal "${HOME}/Library/Preferences/com.apple.itunesstored.plist") |
| 78 | (literal "${HOME}/Library/Preferences/com.apple.mediaaccessibility.plist") | |
| 79 | + | (literal "${HOME}/Library/Preferences/com.apple.mediaremote.plist") |
| 80 | + | (literal "/dev/dtracehelper") |
| 81 | + | (literal "/dev/random") |
| 82 | + | (literal "/dev/urandom") |
| 83 | + | (literal "/private/etc/passwd") |
| 84 | (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist") | |
| 85 | + | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist") |
| 86 | + | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin") |
| 87 | + | (literal "/private/var/preferences/com.apple.networkd.plist") |
| 88 | + | (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo") |
| 89 | + | (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo") |
| 90 | (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts") | |
| 91 | (subpath "${HOME}/Library/Fonts") | |
| 92 | + | (subpath "/") |
| 93 | (subpath "/Library/RegionFeatures") | |
| 94 | (subpath "/System/Cryptexes/App") | |
| 95 | (subpath "/System/Cryptexes/OS") | |
| 96 | (subpath "/System/Library") | |
| 97 | (subpath "/private/preboot/Cryptexes/App") | |
| 98 | (subpath "/private/preboot/Cryptexes/OS") | |
| 99 | + | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font7") |
| 100 | + | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font8") |
| 101 | + | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo") |
| 102 | + | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.icloud.findmydevice.managed/Library") |
| 103 | (subpath "/private/var/db/timezone") | |
| 104 | (subpath "/private/var/preferences/Logging") | |
| 105 | (subpath "/usr/lib") | |
| 106 | ||
| 107 | ||
| 108 | (allow file-read-metadata) | |
| 109 | ||
| 110 | − | (allow file-read-xattr |
| 111 | − | (require-all |
| 112 | − | (require-not (xattr "com.apple.security.private.*")) |
| 113 | − | (require-any |
| 114 | − | (extension "com.apple.app-sandbox.read") |
| 115 | − | (extension "com.apple.app-sandbox.read-write") |
| 116 | − | (extension "com.apple.sandbox.executable") |
| 117 | − | (extension "com.apple.sharing.airdrop.readonly") |
| 118 | − | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences.plist") |
| 119 | − | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences_m.plist") |
| 120 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.videoperformancehud.plist") |
| 121 | − | (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist") |
| 122 | − | (require-all |
| 123 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.mobilemail.plist")) |
| 124 | − | (require-any |
| 125 | − | (literal "/dev/dtracehelper") |
| 126 | − | (literal "/dev/random") |
| 127 | − | (literal "/dev/urandom") |
| 128 | − | (literal "/private/etc/passwd") |
| 129 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist") |
| 130 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin") |
| 131 | − | (literal "/private/var/preferences/com.apple.networkd.plist") |
| 132 | − | (require-all |
| 133 | − | (extension "com.apple.sandbox.container") |
| 134 | − | (require-any |
| 135 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/Library/Caches") |
| 136 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 137 | − | ) |
| 138 | − | ) |
| 139 | − | (require-any |
| 140 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.plist") |
| 141 | − | (literal "${HOME}/Library/Preferences/com.apple.coreaudio.plist") |
| 142 | − | (literal "${HOME}/Library/Preferences/com.apple.coremedia.plist") |
| 143 | − | (literal "${HOME}/Library/Preferences/com.apple.corevideo.plist") |
| 144 | − | (literal "${HOME}/Library/Preferences/com.apple.itunesstored.plist") |
| 145 | − | (literal "${HOME}/Library/Preferences/com.apple.mediaremote.plist") |
| 146 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font7") |
| 147 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font8") |
| 148 | − | ) |
| 149 | − | (require-any |
| 150 | − | (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo") |
| 151 | − | (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo") |
| 152 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo") |
| 153 | − | ) |
| 154 | − | (subpath "/") |
| 155 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.icloud.findmydevice.managed/Library") |
| 156 | − | ) |
| 157 | − | ) |
| 158 | − | (require-all |
| 159 | − | (subpath "/Library/CoreMediaIO/Plug-Ins/DAL") |
| 160 | − | (require-any |
| 161 | − | (extension "com.apple.webkit.camera") |
| 162 | − | (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts") |
| 163 | − | ) |
| 164 | − | ) |
| 165 | − | (require-any |
| 166 | − | (literal "${HOME}/Library/Preferences/com.apple.Accessibility.plist") |
| 167 | − | (literal "${HOME}/Library/Preferences/com.apple.mediaaccessibility.plist") |
| 168 | − | ) |
| 169 | − | (require-any |
| 170 | − | (literal "${HOME}/Library/Preferences/com.apple.Metal.plist") |
| 171 | − | (literal "${HOME}/Library/Preferences/com.apple.coreanimation.plist") |
| 172 | − | ) |
| 173 | − | (require-any |
| 174 | − | (subpath "/System/Cryptexes/App") |
| 175 | − | (subpath "/System/Cryptexes/OS") |
| 176 | − | (subpath "/private/preboot/Cryptexes/App") |
| 177 | − | (subpath "/private/preboot/Cryptexes/OS") |
| 178 | − | ) |
| 179 | − | (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts") |
| 180 | − | (subpath "${HOME}/Library/Fonts") |
| 181 | − | (subpath "/Library/RegionFeatures") |
| 182 | − | (subpath "/System/Library") |
| 183 | − | (subpath "/private/var/db/timezone") |
| 184 | − | (subpath "/private/var/preferences/Logging") |
| 185 | − | (subpath "/usr/lib") |
| 186 | − | (subpath "/usr/share") |
| 187 | − | ) |
| 188 | − | ) |
| 189 | − | ) |
| 190 | − | |
| 191 | (allow file-write* | |
| 192 | (extension "com.apple.app-sandbox.read-write") | |
| 193 | ) | |
| 194 | − | (allow file-write* |
| 195 | − | (require-all |
| 196 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 197 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.springboard.plist*")) |
| 198 | − | (extension "com.apple.sandbox.container") |
| 199 | − | (require-any |
| 200 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/Library/Caches") |
| 201 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 202 | − | ) |
| 203 | − | ) |
| 204 | − | ) |
| 205 | − | |
| 206 | − | (allow file-write-create |
| 207 | − | (require-all |
| 208 | − | (require-not (vnode-type SYMLINK)) |
| 209 | − | (require-not (require-any |
| 210 | − | (literal "${HOME}/Library/Preferences/com.apple.Accessibility.plist*") |
| 211 | − | (literal "${HOME}/Library/Preferences/com.apple.UIKit.plist*") |
| 212 | − | )) |
| 213 | − | (require-any |
| 214 | − | (extension "com.apple.app-sandbox.read-write") |
| 215 | − | (require-all |
| 216 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 217 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.springboard.plist*")) |
| 218 | − | (extension "com.apple.sandbox.container") |
| 219 | − | (require-any |
| 220 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/Library/Caches") |
| 221 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 222 | − | ) |
| 223 | − | ) |
| 224 | − | ) |
| 225 | − | ) |
| 226 | − | ) |
| 227 | ||
| 228 | (allow file-write-data | |
| 229 | − | (require-all |
| 230 | − | (require-not (literal "/dev/urandom")) |
| 231 | − | (require-not (literal "/dev/random")) |
| 232 | − | (require-any |
| 233 | − | (extension "com.apple.app-sandbox.read-write") |
| 234 | − | (literal "/dev/dtracehelper") |
| 235 | − | (require-all |
| 236 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 237 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.springboard.plist*")) |
| 238 | − | (extension "com.apple.sandbox.container") |
| 239 | − | (require-any |
| 240 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/Library/Caches") |
| 241 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 242 | − | ) |
| 243 | − | ) |
| 244 | − | ) |
| 245 | − | ) |
| 246 | − | ) |
| 247 | − | |
| 248 | − | (allow file-write-xattr |
| 249 | − | (require-all |
| 250 | − | (require-not (xattr "com.apple.security.private.*")) |
| 251 | − | (require-any |
| 252 | − | (extension "com.apple.app-sandbox.read-write") |
| 253 | − | (require-all |
| 254 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 255 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.springboard.plist*")) |
| 256 | − | (extension "com.apple.sandbox.container") |
| 257 | − | (require-any |
| 258 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/Library/Caches") |
| 259 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 260 | − | ) |
| 261 | − | ) |
| 262 | − | ) |
| 263 | + | (require-any |
| 264 | + | (extension "com.apple.app-sandbox.read-write") |
| 265 | + | (literal "/dev/dtracehelper") |
| 266 | ) | |
| 267 | ) | |
| 268 | ||
| 269 | ||
| 270 | (deny fs-snapshot-mount) | |
| 271 | ||
| 272 | (deny iokit-get-properties) | |
| 273 | + | (allow iokit-get-properties |
| 274 | + | (with report) |
| 275 | + | (system-attribute developer-mode) |
| 276 | + | ) |
| 277 | (allow iokit-get-properties | |
| 278 | (require-all | |
| 279 | − | (iokit-property "home-button-type") |
| 280 | (iokit-registry-entry-class "IOPlatformDevice") | |
| 281 | + | (iokit-property "home-button-type") |
| 282 | ) | |
| 283 | ) | |
| 284 | (allow iokit-get-properties | |
| 285 | ||
| 286 | (require-not (state-flag "local:tested_version_2.0")) | |
| 287 | ) | |
| 288 | ) | |
| 289 | − | (allow iokit-open-user-client |
| 290 | − | (require-all |
| 291 | − | (iokit-connection "IOGPU") |
| 292 | − | (require-not (iokit-registry-entry-class "AGXDeviceUserClient")) |
| 293 | − | (require-not (iokit-registry-entry-class "IOSurfaceRootUserClient")) |
| 294 | − | (require-not (iokit-registry-entry-class "IOSurfaceAcceleratorClient")) |
| 295 | − | ) |
| 296 | − | ) |
| 297 | (allow iokit-open-user-client | |
| 298 | (require-all | |
| 299 | (iokit-registry-entry-class "IOSurfaceRootUserClient") | |
| 300 | ||
| 301 | ) | |
| 302 | ) | |
| 303 | ) | |
| 304 | + | (allow iokit-open-user-client |
| 305 | + | (with report) |
| 306 | + | (require-all |
| 307 | + | (system-attribute developer-mode) |
| 308 | + | (require-not (iokit-registry-entry-class "AGXDeviceUserClient")) |
| 309 | + | (require-not (iokit-registry-entry-class "IOSurfaceRootUserClient")) |
| 310 | + | (require-not (iokit-registry-entry-class "IOSurfaceAcceleratorClient")) |
| 311 | + | ) |
| 312 | + | ) |
| 313 | ||
| 314 | (deny iokit-open-service) | |
| 315 | + | (allow iokit-open-service |
| 316 | + | (with report) |
| 317 | + | (system-attribute developer-mode) |
| 318 | + | ) |
| 319 | (allow iokit-open-service | |
| 320 | (require-any | |
| 321 | − | (iokit-connection "IOGPU") |
| 322 | (iokit-registry-entry-class "AGXAcceleratorG*") | |
| 323 | (iokit-registry-entry-class "AppleM2ScalerCSCDriver") | |
| 324 | (iokit-registry-entry-class "AppleParavirtGPU") | |
| 325 | ||
| 326 | (require-any | |
| 327 | (global-name "com.apple.coremedia.routingsessionmanager.xpc") | |
| 328 | (global-name "com.apple.coremedia.sts") | |
| 329 | + | (system-attribute developer-mode) |
| 330 | ) | |
| 331 | ) | |
| 332 | (allow mach-lookup | |
| 333 | ||
| 334 | ) | |
| 335 | (allow mach-lookup | |
| 336 | (require-all | |
| 337 | − | (global-name "com.apple.diagnosticd") |
| 338 | − | (require-not (process-attribute is-apple-signed-executable)) |
| 339 | + | (global-name "com.apple.mobilegestalt.xpc") |
| 340 | + | (extension "com.apple.webkit.extension.mach") |
| 341 | ) | |
| 342 | ) | |
| 343 | (allow mach-lookup | |
| 344 | (require-all | |
| 345 | − | (require-not (xpc-service-name "com.apple.audio.toolbox.reporting.service")) |
| 346 | − | (require-not (xpc-service-name "*")) |
| 347 | − | (require-not (global-name "com.apple.coremedia.mediaparserd.utilities")) |
| 348 | − | (require-not (global-name "com.apple.audioanalyticsd")) |
| 349 | − | (require-not (global-name "com.apple.fontservicesd")) |
| 350 | − | (require-not (global-name "com.apple.audio.AudioComponentRegistrar")) |
| 351 | − | (require-any |
| 352 | − | (global-name "com.apple.audio.AudioQueueServer") |
| 353 | − | (global-name "com.apple.logd") |
| 354 | − | (global-name "com.apple.logd.events") |
| 355 | − | (global-name "com.apple.runningboard") |
| 356 | − | (global-name "com.apple.system.notification_center") |
| 357 | − | (global-name "com.apple.systemstatus.activityattribution") |
| 358 | − | (global-name "com.apple.tccd") |
| 359 | − | (require-all |
| 360 | − | (global-name "com.apple.mobilegestalt.xpc") |
| 361 | − | (extension "com.apple.webkit.extension.mach") |
| 362 | − | ) |
| 363 | − | ) |
| 364 | + | (global-name "com.apple.diagnosticd") |
| 365 | + | (require-not (process-attribute is-apple-signed-executable)) |
| 366 | ) | |
| 367 | ) | |
| 368 | (allow mach-lookup | |
| 369 | ||
| 370 | (global-name "com.apple.airplay.apsynccontroller.xpc") | |
| 371 | (global-name "com.apple.airplay.endpoint.xpc") | |
| 372 | (global-name "com.apple.audio.AURemoteIOServer") | |
| 373 | + | (global-name "com.apple.audio.AudioQueueServer") |
| 374 | (global-name "com.apple.audio.AudioSession") | |
| 375 | (global-name "com.apple.coremedia.admin") | |
| 376 | (global-name "com.apple.coremedia.capturesession") | |
| 377 | ||
| 378 | (global-name "com.apple.coremedia.videocodecd.decompressionsession") | |
| 379 | (global-name "com.apple.coremedia.videocodecd.decompressionsession.xpc") | |
| 380 | (global-name "com.apple.coremedia.volumecontroller.xpc") | |
| 381 | + | (global-name "com.apple.logd") |
| 382 | + | (global-name "com.apple.logd.events") |
| 383 | (global-name "com.apple.mediaexperience.endpoint.xpc") | |
| 384 | (global-name "com.apple.mediaexperience.systemmediacastingcontroller.xpc") | |
| 385 | (global-name "com.apple.mediaremoted.xpc") | |
| 386 | + | (global-name "com.apple.runningboard") |
| 387 | + | (global-name "com.apple.system.notification_center") |
| 388 | + | (global-name "com.apple.systemstatus.activityattribution") |
| 389 | + | (global-name "com.apple.tccd") |
| 390 | (xpc-service-name "com.apple.MTLCompilerService") | |
| 391 | ) | |
| 392 | ) | |
| 393 | ||
| 394 | ||
| 395 | (deny necp-client-open) | |
| 396 | ||
| 397 | − | (allow network-outbound |
| 398 | − | (control-name "com.apple.flow-divert") |
| 399 | − | ) |
| 400 | − | |
| 401 | (deny nvram*) | |
| 402 | ||
| 403 | (deny process-info*) | |
| 404 | + | (allow process-info* |
| 405 | + | (with report) |
| 406 | + | (system-attribute developer-mode) |
| 407 | + | ) |
| 408 | ||
| 409 | (deny process-info-codesignature) | |
| 410 | + | (allow process-info-codesignature |
| 411 | + | (with report) |
| 412 | + | (system-attribute developer-mode) |
| 413 | + | ) |
| 414 | (allow process-info-codesignature | |
| 415 | (target others self) | |
| 416 | ) | |
| 417 | ||
| 418 | (deny process-info-dirtycontrol) | |
| 419 | + | (allow process-info-dirtycontrol |
| 420 | + | (with report) |
| 421 | + | (system-attribute developer-mode) |
| 422 | + | ) |
| 423 | (allow process-info-dirtycontrol | |
| 424 | (target self) | |
| 425 | ) | |
| 426 | ||
| 427 | − | (allow process-info-pidinfo) |
| 428 | − | |
| 429 | (deny process-info-pidfdinfo) | |
| 430 | + | (allow process-info-pidfdinfo |
| 431 | + | (with report) |
| 432 | + | (system-attribute developer-mode) |
| 433 | + | ) |
| 434 | (allow process-info-pidfdinfo | |
| 435 | (target self) | |
| 436 | ) | |
| 437 | ||
| 438 | (deny process-info-pidfileportinfo) | |
| 439 | + | (allow process-info-pidfileportinfo |
| 440 | + | (with report) |
| 441 | + | (system-attribute developer-mode) |
| 442 | + | ) |
| 443 | (allow process-info-pidfileportinfo | |
| 444 | (target self) | |
| 445 | ) | |
| 446 | ||
| 447 | (deny process-info-rusage) | |
| 448 | + | (allow process-info-rusage |
| 449 | + | (with report) |
| 450 | + | (system-attribute developer-mode) |
| 451 | + | ) |
| 452 | (allow process-info-rusage | |
| 453 | (target self) | |
| 454 | ) | |
| 455 | ||
| 456 | − | (allow process-info-sandbox-container) |
| 457 | − | |
| 458 | (deny process-info-setcontrol) | |
| 459 | + | (allow process-info-setcontrol |
| 460 | + | (with report) |
| 461 | + | (system-attribute developer-mode) |
| 462 | + | ) |
| 463 | (allow process-info-setcontrol | |
| 464 | (target self) | |
| 465 | ) | |
| 466 | ||
| 467 | (deny socket-option-set) | |
| 468 | ||
| 469 | (deny syscall-unix) | |
| 470 | + | (allow syscall-unix |
| 471 | + | (with report) |
| 472 | + | (system-attribute developer-mode) |
| 473 | + | ) |
| 474 | (allow syscall-unix | |
| 475 | (require-all | |
| 476 | (state-flag "local:FeatureCoreMLDisabled") | |
| 477 | ||
| 478 | SYS_close | |
| 479 | SYS_close_nocancel | |
| 480 | SYS_connect | |
| 481 | − | SYS_connect_nocancel |
| 482 | − | SYS_connectx |
| 483 | SYS_csops | |
| 484 | SYS_csops_audittoken | |
| 485 | SYS_dup | |
| 486 | ||
| 487 | SYS_readlink | |
| 488 | SYS_removexattr | |
| 489 | SYS_rename | |
| 490 | − | SYS_renameat |
| 491 | SYS_rmdir | |
| 492 | SYS_sem_close | |
| 493 | SYS_sem_open | |
| 494 | ||
| 495 | SYS_shared_region_check_np | |
| 496 | SYS_shared_region_map_and_slide_2_np | |
| 497 | SYS_shm_open | |
| 498 | − | SYS_shm_unlink |
| 499 | SYS_sigaction | |
| 500 | SYS_sigprocmask | |
| 501 | SYS_socket | |
| 502 | ||
| 503 | SYS_writev | |
| 504 | SYS_writev_nocancel) | |
| 505 | ) | |
| 506 | − | (deny syscall-unix |
| 507 | − | (with no-report) |
| 508 | − | (syscall-number SYS_crossarch_trap) |
| 509 | − | ) |
| 510 | − | (deny syscall-unix) |
| 511 | ||
| 512 | (deny syscall-mach) | |
| 513 | + | (allow syscall-mach |
| 514 | + | (with report) |
| 515 | + | (system-attribute developer-mode) |
| 516 | + | ) |
| 517 | (allow syscall-mach | |
| 518 | (machtrap-number | |
| 519 | MSC__kernelrpc_mach_vm_allocate_trap | |
| 520 | ||
| 521 | ) | |
| 522 | ||
| 523 | (deny syscall-mig) | |
| 524 | + | (allow syscall-mig |
| 525 | + | (with report) |
| 526 | + | (system-attribute developer-mode) |
| 527 | + | ) |
| 528 | (allow syscall-mig | |
| 529 | (kernel-mig-routine | |
| 530 | host_info | |
| 531 | ||
| 532 | mach_eventlink_associate) | |
| 533 | ) | |
| 534 | ||
| 535 | + | (allow sysctl-read |
| 536 | + | (with report) |
| 537 | + | (system-attribute developer-mode) |
| 538 | + | ) |
| 539 | (allow sysctl-read | |
| 540 | (require-any | |
| 541 | (sysctl-name "hw.activecpu") | |
| 542 | ||
| 543 | (sysctl-name "vm.malloc_ranges") | |
| 544 | ) | |
| 545 | ) | |
| 546 | − | (deny sysctl-read |
| 547 | − | (with no-report) |
| 548 | − | (require-all |
| 549 | − | (require-not (sysctl-name "sysctl.proc_native")) |
| 550 | − | (sysctl-name "hw.tbfrequency_compat") |
| 551 | − | ) |
| 552 | − | ) |
| 553 | − | (deny sysctl-read |
| 554 | − | (require-all |
| 555 | − | (require-not (sysctl-name "sysctl.proc_native")) |
| 556 | − | (sysctl-name "hw.tbfrequency_compat") |
| 557 | − | ) |
| 558 | − | ) |
| 559 | ||
| 560 | (allow system-audit) | |
| 561 | ||
| 562 | (deny system-fcntl) | |
| 563 | + | (allow system-fcntl |
| 564 | + | (with report) |
| 565 | + | (system-attribute developer-mode) |
| 566 | + | ) |
| 567 | (allow system-fcntl | |
| 568 | (fcntl-command | |
| 569 | F_SETFD | |
| 570 | ||
| 571 | F_CHECK_LV) | |
| 572 | ) | |
| 573 | ||
| 574 | − | (deny system-info |
| 575 | − | (with no-report) |
| 576 | − | (info-type "net.link.addr") |
| 577 | − | ) |
| 578 | − | (deny system-info) |
| 579 | − | |
| 580 | (deny system-mac-syscall) | |
| 581 | − | (with-filter (mac-policy-name "AMFI") |
| 582 | − | (allow system-mac-syscall |
| 583 | − | (mac-syscall-number 102 90) |
| 584 | − | ) |
| 585 | + | (allow system-mac-syscall |
| 586 | + | (with report) |
| 587 | + | (system-attribute developer-mode) |
| 588 | ) | |
| 589 | (with-filter (mac-policy-name "Sandbox") | |
| 590 | (allow system-mac-syscall | |
| 591 | (mac-syscall-number 5 65) | |
| 592 | ) | |
| 593 | ) | |
| 594 | − | (with-filter (mac-policy-name "Sandbox") |
| 595 | − | (allow system-mac-syscall |
| 596 | − | (mac-syscall-number 2 4 6 7 67) |
| 597 | − | ) |
| 598 | − | ) |
| 599 | ||
| 600 | (deny system-necp-client-action) | |
| 601 | ||
| 602 | ||
| 603 | (%entitlement-is-bool-true "com.apple.private.kernel.override-cpumon") | |
| 604 | ) | |
| 605 | ||
| 606 | + | (allow user-preference-read |
| 607 | + | (with report) |
| 608 | + | (system-attribute developer-mode) |
| 609 | + | ) |
| 610 | (allow user-preference-read | |
| 611 | (require-any | |
| 612 | (extension "com.apple.security.exception.shared-preference.read-only") | |
| 613 | ||
| 614 | ) | |
| 615 | ) | |
| 616 | ||
| 617 | + | (allow managed-preference-read |
| 618 | + | (with report) |
| 619 | + | (system-attribute developer-mode) |
| 620 | + | ) |
| 621 | (allow managed-preference-read | |
| 622 | (require-any | |
| 623 | (extension "com.apple.security.exception.managed-preference.read-only") |