com.apple.WebKit.WebContent.Development
Group: ⬆️ Updated
+514−1301
| 1 | (deny default) | |
| 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 "AppleCarPlayPreferredContentSizeCategoryChangedNotification") | |
| 11 | ||
| 12 | (notification-name "com.apple.mobile.usermanagerd.foregrounduser_changed") | |
| 13 | (notification-name "com.apple.neconfigurationchanged") | |
| 14 | (notification-name "com.apple.powerlog.state_changed") | |
| 15 | + | (notification-name "com.apple.powerlog.state_changed.ClientID.*") |
| 16 | (notification-name "com.apple.preferences.sounds.keyboard-audio.changed") | |
| 17 | (notification-name "com.apple.runningboard.daemonstartup") | |
| 18 | (notification-name "com.apple.system.DirectoryService.InvalidateCache*") | |
| 19 | ||
| 20 | ) | |
| 21 | ) | |
| 22 | ||
| 23 | − | (deny dynamic-code-generation) |
| 24 | − | (allow dynamic-code-generation) |
| 25 | − | (deny dynamic-code-generation |
| 26 | − | (require-any |
| 27 | − | (signing-identifier "com.apple.WebKit.WebContent.CaptivePortal") |
| 28 | − | (signing-identifier "com.apple.WebKit.WebContent.EnhancedSecurity") |
| 29 | − | ) |
| 30 | − | ) |
| 31 | − | |
| 32 | (deny file-clone) | |
| 33 | ||
| 34 | (allow file-issue-extension | |
| 35 | ||
| 36 | (deny file-link) | |
| 37 | ||
| 38 | (deny file-map-executable) | |
| 39 | + | (allow file-map-executable |
| 40 | + | (with report) |
| 41 | + | (system-attribute developer-mode) |
| 42 | + | ) |
| 43 | (allow file-map-executable | |
| 44 | (require-any | |
| 45 | (extension "com.apple.sandbox.executable") | |
| 46 | ||
| 47 | ||
| 48 | (allow file-read* | |
| 49 | (require-all | |
| 50 | − | (require-not (require-any |
| 51 | − | (literal "${HOME}/Library/Preferences/com.apple.AppSupport.plist") |
| 52 | − | (literal "${HOME}/Library/Preferences/com.apple.WebKit.WebContent.plist") |
| 53 | − | )) |
| 54 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.CFNetwork.plist")) |
| 55 | + | (extension "com.apple.assets.read") |
| 56 | (require-any | |
| 57 | − | (literal "${HOME}/Library/Caches/DateFormats.plist") |
| 58 | − | (require-all |
| 59 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.mobilemail.plist")) |
| 60 | − | (require-any |
| 61 | − | (literal "${HOME}/Library/Caches/com.apple.itunesstored/url-resolution.plist") |
| 62 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.videoperformancehud.plist") |
| 63 | − | (literal "${HOME}/Library/Preferences/com.apple.security.plist") |
| 64 | − | (literal "/dev/random") |
| 65 | − | (literal "/dev/urandom") |
| 66 | − | (literal "/private/etc/fstab") |
| 67 | − | (literal "/private/etc/hosts") |
| 68 | − | (literal "/private/etc/passwd") |
| 69 | − | (literal "/private/etc/services") |
| 70 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist") |
| 71 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin") |
| 72 | − | (literal "/private/var/preferences/com.apple.networkd.plist") |
| 73 | − | (require-all |
| 74 | − | (extension "com.apple.assets.read") |
| 75 | − | (require-any |
| 76 | − | (literal "${HOME}/Library/Preferences/com.apple.security.plist") |
| 77 | − | (subpath "${HOME}/Library/Assets") |
| 78 | − | (subpath "/private/var/MobileAsset") |
| 79 | − | ) |
| 80 | − | ) |
| 81 | − | (require-all |
| 82 | − | (extension "com.apple.sandbox.container") |
| 83 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 84 | − | ) |
| 85 | − | (require-any |
| 86 | − | (literal "${HOME}/Library/Preferences/com.apple.AdLib.plist.plist") |
| 87 | − | (literal "${HOME}/Library/Preferences/com.apple.EmojiPreferences.plist") |
| 88 | − | (literal "${HOME}/Library/Preferences/com.apple.InputModePreferences.plist") |
| 89 | − | (literal "${HOME}/Library/Preferences/com.apple.LaunchServices.plist") |
| 90 | − | (literal "${HOME}/Library/Preferences/com.apple.MobileAsset.plist") |
| 91 | − | (literal "${HOME}/Library/Preferences/com.apple.Preferences.plist") |
| 92 | − | (literal "${HOME}/Library/Preferences/com.apple.SpeakSelection.plist") |
| 93 | − | (literal "${HOME}/Library/Preferences/com.apple.VoiceOverTouch.plist") |
| 94 | − | (literal "${HOME}/Library/Preferences/com.apple.WebFoundation.plist") |
| 95 | − | (literal "${HOME}/Library/Preferences/com.apple.audio.virtualaudio.plist") |
| 96 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.frecents.plist") |
| 97 | − | (literal "${HOME}/Library/Preferences/com.apple.da.plist") |
| 98 | − | (literal "${HOME}/Library/Preferences/com.apple.indigo.plist") |
| 99 | − | (literal "${HOME}/Library/Preferences/com.apple.keyboard.plist") |
| 100 | − | (literal "${HOME}/Library/Preferences/com.apple.lookup.shared.plist") |
| 101 | − | (literal "${HOME}/Library/Preferences/com.apple.mobileipod.plist") |
| 102 | − | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.logging.plist") |
| 103 | − | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.plist") |
| 104 | − | ) |
| 105 | − | (require-any |
| 106 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.plist") |
| 107 | − | (literal "${HOME}/Library/Preferences/com.apple.coreaudio.plist") |
| 108 | − | (literal "${HOME}/Library/Preferences/com.apple.coremedia.plist") |
| 109 | − | (literal "${HOME}/Library/Preferences/com.apple.corevideo.plist") |
| 110 | − | (literal "${HOME}/Library/Preferences/com.apple.itunesstored.plist") |
| 111 | − | (literal "${HOME}/Library/Preferences/com.apple.mediaremote.plist") |
| 112 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font7") |
| 113 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font8") |
| 114 | − | ) |
| 115 | − | (require-any |
| 116 | − | (literal "/dev/null") |
| 117 | − | (literal "/dev/zero") |
| 118 | − | ) |
| 119 | − | (require-any |
| 120 | − | (literal "/private/etc/group") |
| 121 | − | (literal "/private/etc/protocols") |
| 122 | − | ) |
| 123 | − | (require-any |
| 124 | − | (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo") |
| 125 | − | (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo") |
| 126 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo") |
| 127 | − | ) |
| 128 | − | (require-any |
| 129 | − | (subpath "${HOME}/Library/Assets/com_apple_MobileAsset_VoiceServicesVocalizerVoice") |
| 130 | − | (subpath "${HOME}/Library/VoiceServices/Assets") |
| 131 | − | ) |
| 132 | − | (require-any |
| 133 | − | (subpath "/private/var/MobileAsset/PreinstalledAssetsV2/InstallWithOs") |
| 134 | − | (subpath "/private/var/db/datadetectors/sys") |
| 135 | − | ) |
| 136 | − | (subpath "${HOME}/Library/Caches/com.apple.keyboards") |
| 137 | − | (subpath "/") |
| 138 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.icloud.findmydevice.managed/Library") |
| 139 | − | ) |
| 140 | − | ) |
| 141 | − | (require-any |
| 142 | − | (literal "${HOME}/Library/Preferences/com.apple.Metal.plist") |
| 143 | − | (literal "${HOME}/Library/Preferences/com.apple.coreanimation.plist") |
| 144 | − | ) |
| 145 | − | (require-any |
| 146 | − | (literal "${HOME}/Library/Preferences/com.apple.UIKit.plist") |
| 147 | − | (literal "${HOME}/Library/Preferences/com.apple.WebUI.plist") |
| 148 | − | (literal "${HOME}/Library/Preferences/com.apple.airplay.plist") |
| 149 | − | (literal "${HOME}/Library/Preferences/com.apple.avkit.plist") |
| 150 | − | (literal "${HOME}/Library/Preferences/com.apple.iokit.IOMobileGraphicsFamily.plist") |
| 151 | − | (literal "${HOME}/Library/Preferences/com.apple.mt.plist") |
| 152 | − | (literal "${HOME}/Library/Preferences/com.apple.opengl.plist") |
| 153 | − | (literal "${HOME}/Library/Preferences/com.apple.preferences.sounds.plist") |
| 154 | − | ) |
| 155 | − | (require-any |
| 156 | − | (subpath "${HOME}/Library/Dictionaries") |
| 157 | − | (subpath "/Library/Dictionaries") |
| 158 | − | ) |
| 159 | − | (subpath "${HOME}/Library/Fonts") |
| 160 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.lsd.iconscache") |
| 161 | + | (subpath "${HOME}/Library/Assets") |
| 162 | + | (subpath "/private/var/MobileAsset") |
| 163 | ) | |
| 164 | ) | |
| 165 | ) | |
| 166 | ||
| 167 | (extension "com.apple.sharing.airdrop.readonly") | |
| 168 | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences.plist") | |
| 169 | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences_m.plist") | |
| 170 | + | (literal "${HOME}/Library/Caches/DateFormats.plist") |
| 171 | + | (literal "${HOME}/Library/Caches/com.apple.itunesstored/url-resolution.plist") |
| 172 | (literal "${HOME}/Library/Preferences/com.apple.Accessibility.plist") | |
| 173 | + | (literal "${HOME}/Library/Preferences/com.apple.AdLib.plist.plist") |
| 174 | + | (literal "${HOME}/Library/Preferences/com.apple.EmojiPreferences.plist") |
| 175 | + | (literal "${HOME}/Library/Preferences/com.apple.InputModePreferences.plist") |
| 176 | + | (literal "${HOME}/Library/Preferences/com.apple.LaunchServices.plist") |
| 177 | + | (literal "${HOME}/Library/Preferences/com.apple.Metal.plist") |
| 178 | + | (literal "${HOME}/Library/Preferences/com.apple.MobileAsset.plist") |
| 179 | + | (literal "${HOME}/Library/Preferences/com.apple.Preferences.plist") |
| 180 | + | (literal "${HOME}/Library/Preferences/com.apple.SpeakSelection.plist") |
| 181 | + | (literal "${HOME}/Library/Preferences/com.apple.UIKit.plist") |
| 182 | + | (literal "${HOME}/Library/Preferences/com.apple.VoiceOverTouch.plist") |
| 183 | + | (literal "${HOME}/Library/Preferences/com.apple.WebFoundation.plist") |
| 184 | + | (literal "${HOME}/Library/Preferences/com.apple.WebUI.plist") |
| 185 | + | (literal "${HOME}/Library/Preferences/com.apple.airplay.plist") |
| 186 | + | (literal "${HOME}/Library/Preferences/com.apple.audio.virtualaudio.plist") |
| 187 | + | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.frecents.plist") |
| 188 | + | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.plist") |
| 189 | + | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.videoperformancehud.plist") |
| 190 | + | (literal "${HOME}/Library/Preferences/com.apple.avkit.plist") |
| 191 | + | (literal "${HOME}/Library/Preferences/com.apple.coreanimation.plist") |
| 192 | + | (literal "${HOME}/Library/Preferences/com.apple.coreaudio.plist") |
| 193 | + | (literal "${HOME}/Library/Preferences/com.apple.coremedia.plist") |
| 194 | + | (literal "${HOME}/Library/Preferences/com.apple.corevideo.plist") |
| 195 | + | (literal "${HOME}/Library/Preferences/com.apple.da.plist") |
| 196 | + | (literal "${HOME}/Library/Preferences/com.apple.indigo.plist") |
| 197 | + | (literal "${HOME}/Library/Preferences/com.apple.iokit.IOMobileGraphicsFamily.plist") |
| 198 | + | (literal "${HOME}/Library/Preferences/com.apple.itunesstored.plist") |
| 199 | + | (literal "${HOME}/Library/Preferences/com.apple.keyboard.plist") |
| 200 | + | (literal "${HOME}/Library/Preferences/com.apple.lookup.shared.plist") |
| 201 | (literal "${HOME}/Library/Preferences/com.apple.mediaaccessibility.plist") | |
| 202 | (literal "${HOME}/Library/Preferences/com.apple.mediaaccessibility.public.plist") | |
| 203 | + | (literal "${HOME}/Library/Preferences/com.apple.mediaremote.plist") |
| 204 | + | (literal "${HOME}/Library/Preferences/com.apple.mobileipod.plist") |
| 205 | + | (literal "${HOME}/Library/Preferences/com.apple.mt.plist") |
| 206 | + | (literal "${HOME}/Library/Preferences/com.apple.opengl.plist") |
| 207 | + | (literal "${HOME}/Library/Preferences/com.apple.preferences.sounds.plist") |
| 208 | + | (literal "${HOME}/Library/Preferences/com.apple.security.plist") |
| 209 | + | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.logging.plist") |
| 210 | + | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.plist") |
| 211 | + | (literal "/dev/null") |
| 212 | + | (literal "/dev/random") |
| 213 | + | (literal "/dev/urandom") |
| 214 | + | (literal "/dev/zero") |
| 215 | + | (literal "/private/etc/fstab") |
| 216 | + | (literal "/private/etc/group") |
| 217 | + | (literal "/private/etc/hosts") |
| 218 | + | (literal "/private/etc/passwd") |
| 219 | + | (literal "/private/etc/protocols") |
| 220 | + | (literal "/private/etc/services") |
| 221 | (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist") | |
| 222 | + | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist") |
| 223 | + | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin") |
| 224 | + | (literal "/private/var/preferences/com.apple.networkd.plist") |
| 225 | + | (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo") |
| 226 | + | (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo") |
| 227 | (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts") | |
| 228 | + | (subpath "${HOME}/Library/Assets/com_apple_MobileAsset_VoiceServicesVocalizerVoice") |
| 229 | + | (subpath "${HOME}/Library/Caches/com.apple.keyboards") |
| 230 | + | (subpath "${HOME}/Library/Dictionaries") |
| 231 | + | (subpath "${HOME}/Library/Fonts") |
| 232 | + | (subpath "${HOME}/Library/VoiceServices/Assets") |
| 233 | + | (subpath "/") |
| 234 | + | (subpath "/Library/Dictionaries") |
| 235 | (subpath "/Library/RegionFeatures") | |
| 236 | (subpath "/System/Cryptexes/App") | |
| 237 | (subpath "/System/Cryptexes/OS") | |
| 238 | (subpath "/System/Library") | |
| 239 | (subpath "/private/preboot/Cryptexes/App") | |
| 240 | (subpath "/private/preboot/Cryptexes/OS") | |
| 241 | + | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font7") |
| 242 | + | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font8") |
| 243 | + | (subpath "/private/var/MobileAsset/PreinstalledAssetsV2/InstallWithOs") |
| 244 | + | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo") |
| 245 | + | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.icloud.findmydevice.managed/Library") |
| 246 | + | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.lsd.iconscache") |
| 247 | + | (subpath "/private/var/db/datadetectors/sys") |
| 248 | (subpath "/private/var/db/timezone") | |
| 249 | (subpath "/private/var/preferences/Logging") | |
| 250 | (subpath "/usr/lib") | |
| 251 | ||
| 252 | ||
| 253 | (allow file-read-data | |
| 254 | (require-all | |
| 255 | − | (require-not (require-any |
| 256 | − | (literal "${HOME}/Library/Preferences/com.apple.AppSupport.plist") |
| 257 | − | (literal "${HOME}/Library/Preferences/com.apple.WebKit.WebContent.plist") |
| 258 | − | )) |
| 259 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.CFNetwork.plist")) |
| 260 | + | (extension "com.apple.assets.read") |
| 261 | (require-any | |
| 262 | − | (literal "${HOME}/Library/Caches/DateFormats.plist") |
| 263 | − | (require-all |
| 264 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.mobilemail.plist")) |
| 265 | − | (require-any |
| 266 | − | (literal "${HOME}/Library/Caches/com.apple.itunesstored/url-resolution.plist") |
| 267 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.videoperformancehud.plist") |
| 268 | − | (literal "${HOME}/Library/Preferences/com.apple.security.plist") |
| 269 | − | (literal "/dev/random") |
| 270 | − | (literal "/dev/urandom") |
| 271 | − | (literal "/private/etc/fstab") |
| 272 | − | (literal "/private/etc/hosts") |
| 273 | − | (literal "/private/etc/passwd") |
| 274 | − | (literal "/private/etc/services") |
| 275 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist") |
| 276 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin") |
| 277 | − | (literal "/private/var/preferences/com.apple.networkd.plist") |
| 278 | − | (require-all |
| 279 | − | (extension "com.apple.assets.read") |
| 280 | − | (require-any |
| 281 | − | (literal "${HOME}/Library/Preferences/com.apple.security.plist") |
| 282 | − | (subpath "${HOME}/Library/Assets") |
| 283 | − | (subpath "/private/var/MobileAsset") |
| 284 | − | ) |
| 285 | − | ) |
| 286 | − | (require-all |
| 287 | − | (extension "com.apple.sandbox.container") |
| 288 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 289 | − | ) |
| 290 | − | (require-any |
| 291 | − | (literal "${HOME}/Library/Preferences/com.apple.AdLib.plist.plist") |
| 292 | − | (literal "${HOME}/Library/Preferences/com.apple.EmojiPreferences.plist") |
| 293 | − | (literal "${HOME}/Library/Preferences/com.apple.InputModePreferences.plist") |
| 294 | − | (literal "${HOME}/Library/Preferences/com.apple.LaunchServices.plist") |
| 295 | − | (literal "${HOME}/Library/Preferences/com.apple.MobileAsset.plist") |
| 296 | − | (literal "${HOME}/Library/Preferences/com.apple.Preferences.plist") |
| 297 | − | (literal "${HOME}/Library/Preferences/com.apple.SpeakSelection.plist") |
| 298 | − | (literal "${HOME}/Library/Preferences/com.apple.VoiceOverTouch.plist") |
| 299 | − | (literal "${HOME}/Library/Preferences/com.apple.WebFoundation.plist") |
| 300 | − | (literal "${HOME}/Library/Preferences/com.apple.audio.virtualaudio.plist") |
| 301 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.frecents.plist") |
| 302 | − | (literal "${HOME}/Library/Preferences/com.apple.da.plist") |
| 303 | − | (literal "${HOME}/Library/Preferences/com.apple.indigo.plist") |
| 304 | − | (literal "${HOME}/Library/Preferences/com.apple.keyboard.plist") |
| 305 | − | (literal "${HOME}/Library/Preferences/com.apple.lookup.shared.plist") |
| 306 | − | (literal "${HOME}/Library/Preferences/com.apple.mobileipod.plist") |
| 307 | − | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.logging.plist") |
| 308 | − | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.plist") |
| 309 | − | ) |
| 310 | − | (require-any |
| 311 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.plist") |
| 312 | − | (literal "${HOME}/Library/Preferences/com.apple.coreaudio.plist") |
| 313 | − | (literal "${HOME}/Library/Preferences/com.apple.coremedia.plist") |
| 314 | − | (literal "${HOME}/Library/Preferences/com.apple.corevideo.plist") |
| 315 | − | (literal "${HOME}/Library/Preferences/com.apple.itunesstored.plist") |
| 316 | − | (literal "${HOME}/Library/Preferences/com.apple.mediaremote.plist") |
| 317 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font7") |
| 318 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font8") |
| 319 | − | ) |
| 320 | − | (require-any |
| 321 | − | (literal "/dev/null") |
| 322 | − | (literal "/dev/zero") |
| 323 | − | ) |
| 324 | − | (require-any |
| 325 | − | (literal "/private/etc/group") |
| 326 | − | (literal "/private/etc/protocols") |
| 327 | − | ) |
| 328 | − | (require-any |
| 329 | − | (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo") |
| 330 | − | (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo") |
| 331 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo") |
| 332 | − | ) |
| 333 | − | (require-any |
| 334 | − | (subpath "${HOME}/Library/Assets/com_apple_MobileAsset_VoiceServicesVocalizerVoice") |
| 335 | − | (subpath "${HOME}/Library/VoiceServices/Assets") |
| 336 | − | ) |
| 337 | − | (require-any |
| 338 | − | (subpath "/private/var/MobileAsset/PreinstalledAssetsV2/InstallWithOs") |
| 339 | − | (subpath "/private/var/db/datadetectors/sys") |
| 340 | − | ) |
| 341 | − | (subpath "${HOME}/Library/Caches/com.apple.keyboards") |
| 342 | − | (subpath "/") |
| 343 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.icloud.findmydevice.managed/Library") |
| 344 | − | ) |
| 345 | − | ) |
| 346 | − | (require-any |
| 347 | − | (literal "${HOME}/Library/Preferences/com.apple.Metal.plist") |
| 348 | − | (literal "${HOME}/Library/Preferences/com.apple.coreanimation.plist") |
| 349 | − | ) |
| 350 | − | (require-any |
| 351 | − | (literal "${HOME}/Library/Preferences/com.apple.UIKit.plist") |
| 352 | − | (literal "${HOME}/Library/Preferences/com.apple.WebUI.plist") |
| 353 | − | (literal "${HOME}/Library/Preferences/com.apple.airplay.plist") |
| 354 | − | (literal "${HOME}/Library/Preferences/com.apple.avkit.plist") |
| 355 | − | (literal "${HOME}/Library/Preferences/com.apple.iokit.IOMobileGraphicsFamily.plist") |
| 356 | − | (literal "${HOME}/Library/Preferences/com.apple.mt.plist") |
| 357 | − | (literal "${HOME}/Library/Preferences/com.apple.opengl.plist") |
| 358 | − | (literal "${HOME}/Library/Preferences/com.apple.preferences.sounds.plist") |
| 359 | − | ) |
| 360 | − | (require-any |
| 361 | − | (subpath "${HOME}/Library/Dictionaries") |
| 362 | − | (subpath "/Library/Dictionaries") |
| 363 | − | ) |
| 364 | − | (subpath "${HOME}/Library/Fonts") |
| 365 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.lsd.iconscache") |
| 366 | + | (subpath "${HOME}/Library/Assets") |
| 367 | + | (subpath "/private/var/MobileAsset") |
| 368 | ) | |
| 369 | ) | |
| 370 | ) | |
| 371 | ||
| 372 | (extension "com.apple.sharing.airdrop.readonly") | |
| 373 | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences.plist") | |
| 374 | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences_m.plist") | |
| 375 | + | (literal "${HOME}/Library/Caches/DateFormats.plist") |
| 376 | + | (literal "${HOME}/Library/Caches/com.apple.itunesstored/url-resolution.plist") |
| 377 | (literal "${HOME}/Library/Preferences/com.apple.Accessibility.plist") | |
| 378 | + | (literal "${HOME}/Library/Preferences/com.apple.AdLib.plist.plist") |
| 379 | + | (literal "${HOME}/Library/Preferences/com.apple.EmojiPreferences.plist") |
| 380 | + | (literal "${HOME}/Library/Preferences/com.apple.InputModePreferences.plist") |
| 381 | + | (literal "${HOME}/Library/Preferences/com.apple.LaunchServices.plist") |
| 382 | + | (literal "${HOME}/Library/Preferences/com.apple.Metal.plist") |
| 383 | + | (literal "${HOME}/Library/Preferences/com.apple.MobileAsset.plist") |
| 384 | + | (literal "${HOME}/Library/Preferences/com.apple.Preferences.plist") |
| 385 | + | (literal "${HOME}/Library/Preferences/com.apple.SpeakSelection.plist") |
| 386 | + | (literal "${HOME}/Library/Preferences/com.apple.UIKit.plist") |
| 387 | + | (literal "${HOME}/Library/Preferences/com.apple.VoiceOverTouch.plist") |
| 388 | + | (literal "${HOME}/Library/Preferences/com.apple.WebFoundation.plist") |
| 389 | + | (literal "${HOME}/Library/Preferences/com.apple.WebUI.plist") |
| 390 | + | (literal "${HOME}/Library/Preferences/com.apple.airplay.plist") |
| 391 | + | (literal "${HOME}/Library/Preferences/com.apple.audio.virtualaudio.plist") |
| 392 | + | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.frecents.plist") |
| 393 | + | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.plist") |
| 394 | + | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.videoperformancehud.plist") |
| 395 | + | (literal "${HOME}/Library/Preferences/com.apple.avkit.plist") |
| 396 | + | (literal "${HOME}/Library/Preferences/com.apple.coreanimation.plist") |
| 397 | + | (literal "${HOME}/Library/Preferences/com.apple.coreaudio.plist") |
| 398 | + | (literal "${HOME}/Library/Preferences/com.apple.coremedia.plist") |
| 399 | + | (literal "${HOME}/Library/Preferences/com.apple.corevideo.plist") |
| 400 | + | (literal "${HOME}/Library/Preferences/com.apple.da.plist") |
| 401 | + | (literal "${HOME}/Library/Preferences/com.apple.indigo.plist") |
| 402 | + | (literal "${HOME}/Library/Preferences/com.apple.iokit.IOMobileGraphicsFamily.plist") |
| 403 | + | (literal "${HOME}/Library/Preferences/com.apple.itunesstored.plist") |
| 404 | + | (literal "${HOME}/Library/Preferences/com.apple.keyboard.plist") |
| 405 | + | (literal "${HOME}/Library/Preferences/com.apple.lookup.shared.plist") |
| 406 | (literal "${HOME}/Library/Preferences/com.apple.mediaaccessibility.plist") | |
| 407 | (literal "${HOME}/Library/Preferences/com.apple.mediaaccessibility.public.plist") | |
| 408 | + | (literal "${HOME}/Library/Preferences/com.apple.mediaremote.plist") |
| 409 | + | (literal "${HOME}/Library/Preferences/com.apple.mobileipod.plist") |
| 410 | + | (literal "${HOME}/Library/Preferences/com.apple.mt.plist") |
| 411 | + | (literal "${HOME}/Library/Preferences/com.apple.opengl.plist") |
| 412 | + | (literal "${HOME}/Library/Preferences/com.apple.preferences.sounds.plist") |
| 413 | + | (literal "${HOME}/Library/Preferences/com.apple.security.plist") |
| 414 | + | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.logging.plist") |
| 415 | + | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.plist") |
| 416 | + | (literal "/dev/null") |
| 417 | + | (literal "/dev/random") |
| 418 | + | (literal "/dev/urandom") |
| 419 | + | (literal "/dev/zero") |
| 420 | + | (literal "/private/etc/fstab") |
| 421 | + | (literal "/private/etc/group") |
| 422 | + | (literal "/private/etc/hosts") |
| 423 | + | (literal "/private/etc/passwd") |
| 424 | + | (literal "/private/etc/protocols") |
| 425 | + | (literal "/private/etc/services") |
| 426 | (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist") | |
| 427 | + | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist") |
| 428 | + | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin") |
| 429 | + | (literal "/private/var/preferences/com.apple.networkd.plist") |
| 430 | (literal "/usr/local/lib/log") | |
| 431 | + | (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo") |
| 432 | + | (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo") |
| 433 | (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts") | |
| 434 | + | (subpath "${HOME}/Library/Assets/com_apple_MobileAsset_VoiceServicesVocalizerVoice") |
| 435 | + | (subpath "${HOME}/Library/Caches/com.apple.keyboards") |
| 436 | + | (subpath "${HOME}/Library/Dictionaries") |
| 437 | + | (subpath "${HOME}/Library/Fonts") |
| 438 | + | (subpath "${HOME}/Library/VoiceServices/Assets") |
| 439 | + | (subpath "/") |
| 440 | + | (subpath "/Library/Dictionaries") |
| 441 | (subpath "/Library/RegionFeatures") | |
| 442 | (subpath "/System/Cryptexes/App") | |
| 443 | (subpath "/System/Cryptexes/OS") | |
| 444 | (subpath "/System/Library") | |
| 445 | (subpath "/private/preboot/Cryptexes/App") | |
| 446 | (subpath "/private/preboot/Cryptexes/OS") | |
| 447 | + | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font7") |
| 448 | + | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font8") |
| 449 | + | (subpath "/private/var/MobileAsset/PreinstalledAssetsV2/InstallWithOs") |
| 450 | + | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo") |
| 451 | + | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.icloud.findmydevice.managed/Library") |
| 452 | + | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.lsd.iconscache") |
| 453 | + | (subpath "/private/var/db/datadetectors/sys") |
| 454 | (subpath "/private/var/db/timezone") | |
| 455 | (subpath "/private/var/preferences/Logging") | |
| 456 | (subpath "/usr/lib") | |
| 457 | ||
| 458 | ) | |
| 459 | ) | |
| 460 | ||
| 461 | − | (allow file-read-metadata |
| 462 | − | (require-any |
| 463 | − | (literal "${HOME}/Library/Caches/powerlog.launchd") |
| 464 | − | (literal "${HOME}/Library/Preferences") |
| 465 | − | (require-not (literal "/private/var/db/MobileIdentityData/Version.plist")) |
| 466 | − | (vnode-type DIRECTORY SYMLINK) |
| 467 | − | ) |
| 468 | − | ) |
| 469 | − | |
| 470 | − | (allow file-read-xattr |
| 471 | − | (require-all |
| 472 | − | (require-not (xattr "com.apple.security.private.*")) |
| 473 | − | (require-any |
| 474 | − | (extension "com.apple.app-sandbox.read") |
| 475 | − | (extension "com.apple.app-sandbox.read-write") |
| 476 | − | (extension "com.apple.sandbox.executable") |
| 477 | − | (extension "com.apple.sharing.airdrop.readonly") |
| 478 | − | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences.plist") |
| 479 | − | (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences_m.plist") |
| 480 | − | (literal "${HOME}/Library/Preferences/com.apple.mediaaccessibility.public.plist") |
| 481 | − | (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist") |
| 482 | − | (require-all |
| 483 | − | (require-not (require-any |
| 484 | − | (literal "${HOME}/Library/Preferences/com.apple.AppSupport.plist") |
| 485 | − | (literal "${HOME}/Library/Preferences/com.apple.WebKit.WebContent.plist") |
| 486 | − | )) |
| 487 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.CFNetwork.plist")) |
| 488 | − | (require-any |
| 489 | − | (literal "${HOME}/Library/Caches/DateFormats.plist") |
| 490 | − | (require-all |
| 491 | − | (require-not (literal "${HOME}/Library/Preferences/com.apple.mobilemail.plist")) |
| 492 | − | (require-any |
| 493 | − | (literal "${HOME}/Library/Caches/com.apple.itunesstored/url-resolution.plist") |
| 494 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.videoperformancehud.plist") |
| 495 | − | (literal "${HOME}/Library/Preferences/com.apple.security.plist") |
| 496 | − | (literal "/dev/random") |
| 497 | − | (literal "/dev/urandom") |
| 498 | − | (literal "/private/etc/fstab") |
| 499 | − | (literal "/private/etc/hosts") |
| 500 | − | (literal "/private/etc/passwd") |
| 501 | − | (literal "/private/etc/services") |
| 502 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist") |
| 503 | − | (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin") |
| 504 | − | (literal "/private/var/preferences/com.apple.networkd.plist") |
| 505 | − | (require-all |
| 506 | − | (extension "com.apple.assets.read") |
| 507 | − | (require-any |
| 508 | − | (literal "${HOME}/Library/Preferences/com.apple.security.plist") |
| 509 | − | (subpath "${HOME}/Library/Assets") |
| 510 | − | (subpath "/private/var/MobileAsset") |
| 511 | − | ) |
| 512 | − | ) |
| 513 | − | (require-all |
| 514 | − | (extension "com.apple.sandbox.container") |
| 515 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 516 | − | ) |
| 517 | − | (require-any |
| 518 | − | (literal "${HOME}/Library/Preferences/com.apple.AdLib.plist.plist") |
| 519 | − | (literal "${HOME}/Library/Preferences/com.apple.EmojiPreferences.plist") |
| 520 | − | (literal "${HOME}/Library/Preferences/com.apple.InputModePreferences.plist") |
| 521 | − | (literal "${HOME}/Library/Preferences/com.apple.LaunchServices.plist") |
| 522 | − | (literal "${HOME}/Library/Preferences/com.apple.MobileAsset.plist") |
| 523 | − | (literal "${HOME}/Library/Preferences/com.apple.Preferences.plist") |
| 524 | − | (literal "${HOME}/Library/Preferences/com.apple.SpeakSelection.plist") |
| 525 | − | (literal "${HOME}/Library/Preferences/com.apple.VoiceOverTouch.plist") |
| 526 | − | (literal "${HOME}/Library/Preferences/com.apple.WebFoundation.plist") |
| 527 | − | (literal "${HOME}/Library/Preferences/com.apple.audio.virtualaudio.plist") |
| 528 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.frecents.plist") |
| 529 | − | (literal "${HOME}/Library/Preferences/com.apple.da.plist") |
| 530 | − | (literal "${HOME}/Library/Preferences/com.apple.indigo.plist") |
| 531 | − | (literal "${HOME}/Library/Preferences/com.apple.keyboard.plist") |
| 532 | − | (literal "${HOME}/Library/Preferences/com.apple.lookup.shared.plist") |
| 533 | − | (literal "${HOME}/Library/Preferences/com.apple.mobileipod.plist") |
| 534 | − | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.logging.plist") |
| 535 | − | (literal "${HOME}/Library/Preferences/com.apple.voiceservices.plist") |
| 536 | − | ) |
| 537 | − | (require-any |
| 538 | − | (literal "${HOME}/Library/Preferences/com.apple.avfoundation.plist") |
| 539 | − | (literal "${HOME}/Library/Preferences/com.apple.coreaudio.plist") |
| 540 | − | (literal "${HOME}/Library/Preferences/com.apple.coremedia.plist") |
| 541 | − | (literal "${HOME}/Library/Preferences/com.apple.corevideo.plist") |
| 542 | − | (literal "${HOME}/Library/Preferences/com.apple.itunesstored.plist") |
| 543 | − | (literal "${HOME}/Library/Preferences/com.apple.mediaremote.plist") |
| 544 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font7") |
| 545 | − | (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_Font8") |
| 546 | − | ) |
| 547 | − | (require-any |
| 548 | − | (literal "/dev/null") |
| 549 | − | (literal "/dev/zero") |
| 550 | − | ) |
| 551 | − | (require-any |
| 552 | − | (literal "/private/etc/group") |
| 553 | − | (literal "/private/etc/protocols") |
| 554 | − | ) |
| 555 | − | (require-any |
| 556 | − | (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo") |
| 557 | − | (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo") |
| 558 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo") |
| 559 | − | ) |
| 560 | − | (require-any |
| 561 | − | (subpath "${HOME}/Library/Assets/com_apple_MobileAsset_VoiceServicesVocalizerVoice") |
| 562 | − | (subpath "${HOME}/Library/VoiceServices/Assets") |
| 563 | − | ) |
| 564 | − | (require-any |
| 565 | − | (subpath "/private/var/MobileAsset/PreinstalledAssetsV2/InstallWithOs") |
| 566 | − | (subpath "/private/var/db/datadetectors/sys") |
| 567 | − | ) |
| 568 | − | (subpath "${HOME}/Library/Caches/com.apple.keyboards") |
| 569 | − | (subpath "/") |
| 570 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.icloud.findmydevice.managed/Library") |
| 571 | − | ) |
| 572 | − | ) |
| 573 | − | (require-any |
| 574 | − | (literal "${HOME}/Library/Preferences/com.apple.Metal.plist") |
| 575 | − | (literal "${HOME}/Library/Preferences/com.apple.coreanimation.plist") |
| 576 | − | ) |
| 577 | − | (require-any |
| 578 | − | (literal "${HOME}/Library/Preferences/com.apple.UIKit.plist") |
| 579 | − | (literal "${HOME}/Library/Preferences/com.apple.WebUI.plist") |
| 580 | − | (literal "${HOME}/Library/Preferences/com.apple.airplay.plist") |
| 581 | − | (literal "${HOME}/Library/Preferences/com.apple.avkit.plist") |
| 582 | − | (literal "${HOME}/Library/Preferences/com.apple.iokit.IOMobileGraphicsFamily.plist") |
| 583 | − | (literal "${HOME}/Library/Preferences/com.apple.mt.plist") |
| 584 | − | (literal "${HOME}/Library/Preferences/com.apple.opengl.plist") |
| 585 | − | (literal "${HOME}/Library/Preferences/com.apple.preferences.sounds.plist") |
| 586 | − | ) |
| 587 | − | (require-any |
| 588 | − | (subpath "${HOME}/Library/Dictionaries") |
| 589 | − | (subpath "/Library/Dictionaries") |
| 590 | − | ) |
| 591 | − | (subpath "${HOME}/Library/Fonts") |
| 592 | − | (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.lsd.iconscache") |
| 593 | − | ) |
| 594 | − | ) |
| 595 | − | (require-any |
| 596 | − | (literal "${HOME}/Library/Preferences/com.apple.Accessibility.plist") |
| 597 | − | (literal "${HOME}/Library/Preferences/com.apple.mediaaccessibility.plist") |
| 598 | − | ) |
| 599 | − | (require-any |
| 600 | − | (subpath "/System/Cryptexes/App") |
| 601 | − | (subpath "/System/Cryptexes/OS") |
| 602 | − | (subpath "/private/preboot/Cryptexes/App") |
| 603 | − | (subpath "/private/preboot/Cryptexes/OS") |
| 604 | − | ) |
| 605 | − | (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts") |
| 606 | − | (subpath "/Library/RegionFeatures") |
| 607 | − | (subpath "/System/Library") |
| 608 | − | (subpath "/private/var/db/timezone") |
| 609 | − | (subpath "/private/var/preferences/Logging") |
| 610 | − | (subpath "/usr/lib") |
| 611 | − | (subpath "/usr/share") |
| 612 | − | ) |
| 613 | − | ) |
| 614 | − | ) |
| 615 | + | (allow file-read-metadata) |
| 616 | ||
| 617 | (allow file-write* | |
| 618 | (with report) | |
| 619 | (extension "com.apple.app-sandbox.read-write") | |
| 620 | ) | |
| 621 | − | (allow file-write* |
| 622 | − | (require-all |
| 623 | − | (extension "com.apple.sandbox.container") |
| 624 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 625 | − | ) |
| 626 | − | ) |
| 627 | − | (deny file-write* |
| 628 | − | (require-all |
| 629 | − | (extension "com.apple.sandbox.container") |
| 630 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 631 | − | (require-any |
| 632 | − | (literal "${HOME}/Library/Caches/DateFormats.plist") |
| 633 | − | (subpath "${HOME}/Library/Preferences") |
| 634 | − | ) |
| 635 | − | ) |
| 636 | − | ) |
| 637 | − | |
| 638 | − | (allow file-write-create |
| 639 | − | (with report) |
| 640 | − | (require-all |
| 641 | − | (require-not (vnode-type SYMLINK)) |
| 642 | − | (require-not (require-any |
| 643 | − | (literal "${HOME}/Library/Preferences/com.apple.Accessibility.plist*") |
| 644 | − | (literal "${HOME}/Library/Preferences/com.apple.UIKit.plist*") |
| 645 | − | )) |
| 646 | − | (require-any |
| 647 | − | (extension "com.apple.app-sandbox.read-write") |
| 648 | − | (require-all |
| 649 | − | (extension "com.apple.sandbox.container") |
| 650 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 651 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 652 | − | (require-not (subpath "${HOME}/Library/Preferences")) |
| 653 | − | ) |
| 654 | − | ) |
| 655 | − | ) |
| 656 | − | ) |
| 657 | − | (allow file-write-create |
| 658 | − | (require-all |
| 659 | − | (require-not (vnode-type SYMLINK)) |
| 660 | − | (require-not (require-any |
| 661 | − | (literal "${HOME}/Library/Preferences/com.apple.Accessibility.plist*") |
| 662 | − | (literal "${HOME}/Library/Preferences/com.apple.UIKit.plist*") |
| 663 | − | )) |
| 664 | − | (require-any |
| 665 | − | (extension "com.apple.app-sandbox.read-write") |
| 666 | − | (require-all |
| 667 | − | (extension "com.apple.sandbox.container") |
| 668 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 669 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 670 | − | (require-not (subpath "${HOME}/Library/Preferences")) |
| 671 | − | ) |
| 672 | − | ) |
| 673 | − | ) |
| 674 | − | ) |
| 675 | ||
| 676 | (allow file-write-data | |
| 677 | (with report) | |
| 678 | − | (require-all |
| 679 | − | (require-not (literal "/dev/urandom")) |
| 680 | − | (require-not (literal "/dev/random")) |
| 681 | − | (require-any |
| 682 | − | (extension "com.apple.app-sandbox.read-write") |
| 683 | − | (require-all |
| 684 | − | (extension "com.apple.sandbox.container") |
| 685 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 686 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 687 | − | (require-not (subpath "${HOME}/Library/Preferences")) |
| 688 | − | ) |
| 689 | − | (require-all |
| 690 | − | (require-any |
| 691 | − | (literal "/dev/null") |
| 692 | − | (literal "/dev/zero") |
| 693 | − | ) |
| 694 | − | (require-not (literal "/dev/dtracehelper")) |
| 695 | − | ) |
| 696 | − | ) |
| 697 | − | ) |
| 698 | + | (extension "com.apple.app-sandbox.read-write") |
| 699 | ) | |
| 700 | (allow file-write-data | |
| 701 | − | (require-all |
| 702 | − | (require-not (literal "/dev/urandom")) |
| 703 | − | (require-not (literal "/dev/random")) |
| 704 | − | (require-any |
| 705 | − | (extension "com.apple.app-sandbox.read-write") |
| 706 | − | (require-all |
| 707 | − | (extension "com.apple.sandbox.container") |
| 708 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 709 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 710 | − | (require-not (subpath "${HOME}/Library/Preferences")) |
| 711 | − | ) |
| 712 | − | (require-all |
| 713 | − | (require-any |
| 714 | − | (literal "/dev/null") |
| 715 | − | (literal "/dev/zero") |
| 716 | − | ) |
| 717 | − | (require-not (literal "/dev/dtracehelper")) |
| 718 | − | ) |
| 719 | − | ) |
| 720 | − | ) |
| 721 | − | ) |
| 722 | − | |
| 723 | − | (allow file-write-xattr |
| 724 | (with report) | |
| 725 | (require-all | |
| 726 | − | (require-not (xattr "com.apple.security.private.*")) |
| 727 | (require-any | |
| 728 | − | (extension "com.apple.app-sandbox.read-write") |
| 729 | − | (require-all |
| 730 | − | (extension "com.apple.sandbox.container") |
| 731 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 732 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 733 | − | (require-not (subpath "${HOME}/Library/Preferences")) |
| 734 | − | ) |
| 735 | − | ) |
| 736 | − | ) |
| 737 | − | ) |
| 738 | − | (allow file-write-xattr |
| 739 | − | (require-all |
| 740 | − | (require-not (xattr "com.apple.security.private.*")) |
| 741 | − | (require-any |
| 742 | − | (extension "com.apple.app-sandbox.read-write") |
| 743 | − | (require-all |
| 744 | − | (extension "com.apple.sandbox.container") |
| 745 | − | (subpath "/private/var/mobile/Containers/Data/PluginKitPlugin/[^/]+/tmp") |
| 746 | − | (require-not (literal "${HOME}/Library/Caches/DateFormats.plist")) |
| 747 | − | (require-not (subpath "${HOME}/Library/Preferences")) |
| 748 | − | ) |
| 749 | + | (literal "/dev/null") |
| 750 | + | (literal "/dev/zero") |
| 751 | ) | |
| 752 | + | (require-not (literal "/dev/dtracehelper")) |
| 753 | ) | |
| 754 | ) | |
| 755 | ||
| 756 | ||
| 757 | (deny fs-snapshot-mount) | |
| 758 | ||
| 759 | (deny iokit-get-properties) | |
| 760 | + | (allow iokit-get-properties |
| 761 | + | (with report) |
| 762 | + | (system-attribute developer-mode) |
| 763 | + | ) |
| 764 | (allow iokit-get-properties | |
| 765 | (require-all | |
| 766 | (iokit-registry-entry-class "IOMobileFramebuffer") | |
| 767 | ||
| 768 | ) | |
| 769 | (allow iokit-get-properties | |
| 770 | (require-all | |
| 771 | − | (iokit-property "home-button-type") |
| 772 | (iokit-registry-entry-class "IOPlatformDevice") | |
| 773 | + | (iokit-property "home-button-type") |
| 774 | ) | |
| 775 | ) | |
| 776 | (allow iokit-get-properties | |
| 777 | ||
| 778 | ) | |
| 779 | ) | |
| 780 | ||
| 781 | − | (deny iokit-open-user-client |
| 782 | − | (with no-report) |
| 783 | − | (iokit-registry-entry-class "AppleJPEGDriverUserClient") |
| 784 | + | (allow iokit-open-user-client |
| 785 | + | (with report) |
| 786 | + | (system-attribute developer-mode) |
| 787 | ) | |
| 788 | − | (deny iokit-open-user-client) |
| 789 | ||
| 790 | − | (deny iokit-open-service |
| 791 | − | (with no-report) |
| 792 | + | (deny iokit-open-service) |
| 793 | + | (allow iokit-open-service |
| 794 | + | (with report) |
| 795 | + | (system-attribute developer-mode) |
| 796 | ) | |
| 797 | ||
| 798 | (allow mach-bootstrap | |
| 799 | (apply-message-filter | |
| 800 | + | (deny mach-message-send) |
| 801 | (allow mach-message-send | |
| 802 | (require-any | |
| 803 | (require-all | |
| 804 | ||
| 805 | ) | |
| 806 | ) | |
| 807 | ) | |
| 808 | − | (deny mach-message-send |
| 809 | − | (with no-report) |
| 810 | + | (allow mach-message-send |
| 811 | + | (with report) |
| 812 | (require-any | |
| 813 | − | (require-all |
| 814 | − | (require-not (message-number 718)) |
| 815 | − | (require-not (message-number 802)) |
| 816 | − | (require-not (message-number 803)) |
| 817 | − | (require-not (message-number 805)) |
| 818 | − | (require-not (message-number 716)) |
| 819 | − | (require-not (message-number 207)) |
| 820 | − | (require-not (message-number 712)) |
| 821 | − | (require-not (message-number 800)) |
| 822 | − | (require-not (message-number 206)) |
| 823 | − | (require-not (message-number 904)) |
| 824 | − | (require-not (message-number 711)) |
| 825 | − | (require-not (message-number 804)) |
| 826 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 827 | − | ) |
| 828 | (require-all | |
| 829 | (state-flag "local:WebContentProcessLaunched") | |
| 830 | + | (system-attribute developer-mode) |
| 831 | (message-number 206) | |
| 832 | (require-not (extension "com.apple.webkit.mach-bootstrap")) | |
| 833 | ) | |
| 834 | (require-all | |
| 835 | (state-flag "local:WebContentProcessLaunched") | |
| 836 | + | (system-attribute developer-mode) |
| 837 | (message-number 207) | |
| 838 | (require-not (extension "com.apple.webkit.mach-bootstrap")) | |
| 839 | ) | |
| 840 | (require-all | |
| 841 | (state-flag "local:WebContentProcessLaunched") | |
| 842 | + | (system-attribute developer-mode) |
| 843 | (message-number 711) | |
| 844 | (require-not (extension "com.apple.webkit.mach-bootstrap")) | |
| 845 | ) | |
| 846 | (require-all | |
| 847 | (state-flag "local:WebContentProcessLaunched") | |
| 848 | + | (system-attribute developer-mode) |
| 849 | (message-number 712) | |
| 850 | (require-not (extension "com.apple.webkit.mach-bootstrap")) | |
| 851 | ) | |
| 852 | (require-all | |
| 853 | (state-flag "local:WebContentProcessLaunched") | |
| 854 | + | (system-attribute developer-mode) |
| 855 | (message-number 800) | |
| 856 | (require-not (extension "com.apple.webkit.mach-bootstrap")) | |
| 857 | ) | |
| 858 | (require-all | |
| 859 | (state-flag "local:WebContentProcessLaunched") | |
| 860 | + | (system-attribute developer-mode) |
| 861 | (message-number 804) | |
| 862 | (require-not (extension "com.apple.webkit.mach-bootstrap")) | |
| 863 | ) | |
| 864 | (require-all | |
| 865 | (state-flag "local:WebContentProcessLaunched") | |
| 866 | + | (system-attribute developer-mode) |
| 867 | (message-number 904) | |
| 868 | (require-not (extension "com.apple.webkit.mach-bootstrap")) | |
| 869 | ) | |
| 870 | (require-all | |
| 871 | (state-flag "local:WebContentProcessLaunched") | |
| 872 | + | (system-attribute developer-mode) |
| 873 | + | (require-not (message-number 207)) |
| 874 | + | (require-not (message-number 712)) |
| 875 | + | (require-not (message-number 800)) |
| 876 | + | (require-not (message-number 206)) |
| 877 | + | (require-not (message-number 904)) |
| 878 | + | (require-not (message-number 711)) |
| 879 | + | (require-not (message-number 804)) |
| 880 | + | ) |
| 881 | + | (require-all |
| 882 | + | (system-attribute developer-mode) |
| 883 | + | (require-not (message-number 718)) |
| 884 | + | (require-not (message-number 802)) |
| 885 | + | (require-not (message-number 803)) |
| 886 | + | (require-not (message-number 805)) |
| 887 | + | (require-not (message-number 716)) |
| 888 | (require-not (message-number 207)) | |
| 889 | (require-not (message-number 712)) | |
| 890 | (require-not (message-number 800)) | |
| 891 | ||
| 892 | (require-not (message-number 904)) | |
| 893 | (require-not (message-number 711)) | |
| 894 | (require-not (message-number 804)) | |
| 895 | + | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 896 | ) | |
| 897 | ) | |
| 898 | ) | |
| 899 | ||
| 900 | ||
| 901 | (deny mach-cross-domain-lookup) | |
| 902 | ||
| 903 | − | (deny mach-lookup |
| 904 | − | (with no-report) |
| 905 | − | (require-all |
| 906 | − | (require-not (global-name "com.apple.lsd.mapdb")) |
| 907 | − | (require-not (global-name "com.apple.diagnosticd")) |
| 908 | − | (require-not (global-name "com.apple.distributed_notifications@1v3")) |
| 909 | − | (require-not (global-name "com.apple.SystemConfiguration.configd")) |
| 910 | − | (require-not (global-name "com.apple.fontservicesd")) |
| 911 | − | (require-not (global-name "com.apple.containermanagerd")) |
| 912 | − | (require-not (global-name "com.apple.runningboard")) |
| 913 | − | (require-not (global-name "com.apple.audio.AudioComponentRegistrar")) |
| 914 | − | (require-not (global-name "com.apple.analyticsd")) |
| 915 | − | (require-not (global-name "com.apple.containermanagerd.system")) |
| 916 | − | (require-not (global-name "com.apple.aggregated")) |
| 917 | − | (require-not (xpc-service-name "com.apple.audio.toolbox.reporting.service")) |
| 918 | − | (require-not (xpc-service-name "*")) |
| 919 | − | (require-not (global-name "com.apple.logd.events")) |
| 920 | − | (global-name "com.apple.logd") |
| 921 | − | ) |
| 922 | − | ) |
| 923 | − | (deny mach-lookup |
| 924 | − | (require-all |
| 925 | − | (require-not (global-name "com.apple.lsd.mapdb")) |
| 926 | − | (require-not (global-name "com.apple.diagnosticd")) |
| 927 | − | (require-not (global-name "com.apple.distributed_notifications@1v3")) |
| 928 | − | (require-not (global-name "com.apple.SystemConfiguration.configd")) |
| 929 | − | (require-not (global-name "com.apple.fontservicesd")) |
| 930 | − | (require-not (global-name "com.apple.containermanagerd")) |
| 931 | − | (require-not (global-name "com.apple.runningboard")) |
| 932 | − | (require-not (global-name "com.apple.audio.AudioComponentRegistrar")) |
| 933 | − | (require-not (global-name "com.apple.analyticsd")) |
| 934 | − | (require-not (global-name "com.apple.containermanagerd.system")) |
| 935 | − | (require-not (global-name "com.apple.aggregated")) |
| 936 | − | (require-not (xpc-service-name "com.apple.audio.toolbox.reporting.service")) |
| 937 | − | (require-not (xpc-service-name "*")) |
| 938 | − | (require-not (global-name "com.apple.logd.events")) |
| 939 | − | (global-name "com.apple.logd") |
| 940 | − | ) |
| 941 | + | (allow mach-lookup |
| 942 | + | (with report) |
| 943 | + | (system-attribute developer-mode) |
| 944 | ) | |
| 945 | ||
| 946 | (allow mach-register | |
| 947 | ||
| 948 | ) | |
| 949 | ||
| 950 | (deny mach-task-special-port-get) | |
| 951 | + | (allow mach-task-special-port-get |
| 952 | + | (with report) |
| 953 | + | (system-attribute developer-mode) |
| 954 | + | ) |
| 955 | (allow mach-task-special-port-get | |
| 956 | (require-any | |
| 957 | (require-not (state-flag "local:WebContentProcessLaunched")) | |
| 958 | ||
| 959 | ) | |
| 960 | ||
| 961 | (deny mach-task-special-port-set) | |
| 962 | + | (allow mach-task-special-port-set |
| 963 | + | (with report) |
| 964 | + | (system-attribute developer-mode) |
| 965 | + | ) |
| 966 | (allow mach-task-special-port-set) | |
| 967 | (deny mach-task-special-port-set | |
| 968 | (state-flag "local:WebContentProcessLaunched") | |
| 969 | ||
| 970 | ||
| 971 | (deny necp-client-open) | |
| 972 | ||
| 973 | − | (allow network-outbound |
| 974 | − | (control-name "com.apple.flow-divert") |
| 975 | − | ) |
| 976 | − | |
| 977 | (deny nvram*) | |
| 978 | ||
| 979 | (deny process-info*) | |
| 980 | − | |
| 981 | − | (deny process-info-codesignature |
| 982 | − | (with no-report) |
| 983 | + | (allow process-info* |
| 984 | + | (with report) |
| 985 | + | (system-attribute developer-mode) |
| 986 | ) | |
| 987 | ||
| 988 | (deny process-info-dirtycontrol) | |
| 989 | + | (allow process-info-dirtycontrol |
| 990 | + | (with report) |
| 991 | + | (system-attribute developer-mode) |
| 992 | + | ) |
| 993 | (allow process-info-dirtycontrol | |
| 994 | (target self) | |
| 995 | ) | |
| 996 | ||
| 997 | (deny process-info-pidinfo) | |
| 998 | + | (allow process-info-pidinfo |
| 999 | + | (with report) |
| 1000 | + | (system-attribute developer-mode) |
| 1001 | + | ) |
| 1002 | (allow process-info-pidinfo | |
| 1003 | (target self) | |
| 1004 | ) | |
| 1005 | ||
| 1006 | (deny process-info-pidfdinfo) | |
| 1007 | + | (allow process-info-pidfdinfo |
| 1008 | + | (with report) |
| 1009 | + | (system-attribute developer-mode) |
| 1010 | + | ) |
| 1011 | (allow process-info-pidfdinfo | |
| 1012 | (target self) | |
| 1013 | ) | |
| 1014 | ||
| 1015 | (deny process-info-pidfileportinfo) | |
| 1016 | + | (allow process-info-pidfileportinfo |
| 1017 | + | (with report) |
| 1018 | + | (system-attribute developer-mode) |
| 1019 | + | ) |
| 1020 | (allow process-info-pidfileportinfo | |
| 1021 | (target self) | |
| 1022 | ) | |
| 1023 | ||
| 1024 | (deny process-info-rusage) | |
| 1025 | + | (allow process-info-rusage |
| 1026 | + | (with report) |
| 1027 | + | (system-attribute developer-mode) |
| 1028 | + | ) |
| 1029 | (allow process-info-rusage | |
| 1030 | (target self) | |
| 1031 | ) | |
| 1032 | ||
| 1033 | − | (allow process-info-sandbox-container) |
| 1034 | − | |
| 1035 | (deny process-info-setcontrol) | |
| 1036 | + | (allow process-info-setcontrol |
| 1037 | + | (with report) |
| 1038 | + | (system-attribute developer-mode) |
| 1039 | + | ) |
| 1040 | (allow process-info-setcontrol | |
| 1041 | (target self) | |
| 1042 | ) | |
| 1043 | ||
| 1044 | − | (deny process-iopolicy-get) |
| 1045 | − | |
| 1046 | − | (deny process-iopolicy-set) |
| 1047 | + | (allow process-legacy-codesigning* |
| 1048 | + | (with report) |
| 1049 | + | (system-attribute developer-mode) |
| 1050 | + | ) |
| 1051 | ||
| 1052 | (allow process-legacy-codesigning-entitlements-blob-get) | |
| 1053 | ||
| 1054 | (allow process-legacy-codesigning-entitlements-der-blob-get) | |
| 1055 | ||
| 1056 | + | (allow process-legacy-codesigning-identity-get |
| 1057 | + | (with report) |
| 1058 | + | (system-attribute developer-mode) |
| 1059 | + | ) |
| 1060 | (allow process-legacy-codesigning-identity-get | |
| 1061 | (target self) | |
| 1062 | ) | |
| 1063 | ||
| 1064 | (allow process-legacy-codesigning-status-get) | |
| 1065 | ||
| 1066 | + | (allow process-legacy-codesigning-status-set |
| 1067 | + | (with report) |
| 1068 | + | (system-attribute developer-mode) |
| 1069 | + | ) |
| 1070 | (allow process-legacy-codesigning-status-set | |
| 1071 | (target self) | |
| 1072 | ) | |
| 1073 | ||
| 1074 | (deny socket-option-set) | |
| 1075 | ||
| 1076 | (deny syscall-unix) | |
| 1077 | + | (allow syscall-unix |
| 1078 | + | (with report) |
| 1079 | + | (system-attribute developer-mode) |
| 1080 | + | ) |
| 1081 | (allow syscall-unix | |
| 1082 | (syscall-number | |
| 1083 | − | SYS___disable_threadsignal |
| 1084 | − | SYS___mac_syscall |
| 1085 | − | SYS_access |
| 1086 | − | SYS_bsdthread_create |
| 1087 | − | SYS_bsdthread_ctl |
| 1088 | − | SYS_bsdthread_terminate |
| 1089 | + | SYS_exit |
| 1090 | + | SYS_read |
| 1091 | + | SYS_write |
| 1092 | + | SYS_open |
| 1093 | SYS_close | |
| 1094 | − | SYS_close_nocancel |
| 1095 | − | SYS_csops |
| 1096 | − | SYS_csops_audittoken |
| 1097 | + | SYS_unlink |
| 1098 | + | SYS_getuid |
| 1099 | + | SYS_geteuid |
| 1100 | + | SYS_access |
| 1101 | SYS_dup | |
| 1102 | − | SYS_exit |
| 1103 | − | SYS_faccessat |
| 1104 | − | SYS_fcntl |
| 1105 | − | SYS_fcntl_nocancel |
| 1106 | − | SYS_fgetxattr |
| 1107 | − | SYS_fstat64 |
| 1108 | − | SYS_fstatat64 |
| 1109 | − | SYS_fstatfs64 |
| 1110 | − | SYS_getattrlist |
| 1111 | − | SYS_getdirentries64 |
| 1112 | SYS_getegid | |
| 1113 | − | SYS_getentropy |
| 1114 | − | SYS_geteuid |
| 1115 | − | SYS_getfsstat64 |
| 1116 | − | SYS_getrlimit |
| 1117 | − | SYS_getrusage |
| 1118 | − | SYS_gettid |
| 1119 | + | SYS_getgid |
| 1120 | + | SYS_sigprocmask |
| 1121 | + | SYS_ioctl |
| 1122 | + | SYS_readlink |
| 1123 | + | SYS_umask |
| 1124 | + | SYS_msync |
| 1125 | + | SYS_munmap |
| 1126 | + | SYS_mprotect |
| 1127 | + | SYS_madvise |
| 1128 | + | SYS_fcntl |
| 1129 | + | SYS_fsync |
| 1130 | SYS_gettimeofday | |
| 1131 | − | SYS_getuid |
| 1132 | + | SYS_getrusage |
| 1133 | + | SYS_writev |
| 1134 | + | SYS_rename |
| 1135 | + | SYS_flock |
| 1136 | + | SYS_sendto |
| 1137 | + | SYS_mkdir |
| 1138 | + | SYS_rmdir |
| 1139 | + | SYS_pread |
| 1140 | + | SYS_csops |
| 1141 | + | SYS_csops_audittoken |
| 1142 | + | SYS_pathconf |
| 1143 | + | SYS_getrlimit |
| 1144 | + | SYS_setrlimit |
| 1145 | + | SYS_mmap |
| 1146 | + | SYS_lseek |
| 1147 | + | SYS_ftruncate |
| 1148 | + | SYS_sysctl |
| 1149 | + | SYS_open_dprotected_np |
| 1150 | + | SYS_getattrlist |
| 1151 | + | SYS_fgetattrlist |
| 1152 | + | SYS_fsetattrlist |
| 1153 | SYS_getxattr | |
| 1154 | − | SYS_ioctl |
| 1155 | + | SYS_fgetxattr |
| 1156 | + | SYS_fsetxattr |
| 1157 | + | SYS_listxattr |
| 1158 | + | SYS_shm_open |
| 1159 | + | SYS_sem_open |
| 1160 | + | SYS_sem_close |
| 1161 | + | SYS_sysctlbyname |
| 1162 | + | SYS_gettid |
| 1163 | + | SYS_psynch_mutexwait |
| 1164 | + | SYS_psynch_mutexdrop |
| 1165 | + | SYS_psynch_cvbroad |
| 1166 | + | SYS_psynch_cvsignal |
| 1167 | + | SYS_psynch_cvwait |
| 1168 | + | SYS_psynch_rw_rdlock |
| 1169 | + | SYS_psynch_rw_wrlock |
| 1170 | + | SYS_psynch_rw_unlock |
| 1171 | + | SYS_psynch_cvclrprepost |
| 1172 | SYS_issetugid | |
| 1173 | − | SYS_kevent_id |
| 1174 | − | SYS_kevent_qos |
| 1175 | − | SYS_lseek |
| 1176 | + | SYS___pthread_kill |
| 1177 | + | SYS___pthread_sigmask |
| 1178 | + | SYS___disable_threadsignal |
| 1179 | + | SYS___semwait_signal |
| 1180 | + | SYS_proc_info |
| 1181 | + | SYS_stat64 |
| 1182 | + | SYS_fstat64 |
| 1183 | SYS_lstat64 | |
| 1184 | − | SYS_madvise |
| 1185 | − | SYS_map_with_linking_np |
| 1186 | − | SYS_memorystatus_control |
| 1187 | − | SYS_mmap |
| 1188 | − | SYS_mprotect |
| 1189 | − | SYS_munmap |
| 1190 | − | SYS_open |
| 1191 | − | SYS_open_nocancel |
| 1192 | − | SYS_openat |
| 1193 | − | SYS_os_fault_with_payload |
| 1194 | − | SYS_pathconf |
| 1195 | − | SYS_pread |
| 1196 | − | SYS_proc_info |
| 1197 | − | SYS_psynch_cvbroad |
| 1198 | − | SYS_psynch_cvclrprepost |
| 1199 | − | SYS_psynch_cvsignal |
| 1200 | − | SYS_psynch_cvwait |
| 1201 | − | SYS_psynch_mutexdrop |
| 1202 | − | SYS_psynch_mutexwait |
| 1203 | − | SYS_psynch_rw_rdlock |
| 1204 | − | SYS_psynch_rw_unlock |
| 1205 | − | SYS_psynch_rw_wrlock |
| 1206 | − | SYS_read |
| 1207 | − | SYS_read_nocancel |
| 1208 | − | SYS_readlink |
| 1209 | − | SYS_shm_open |
| 1210 | − | SYS_sigprocmask |
| 1211 | − | SYS_stat64 |
| 1212 | + | SYS_fstat64_extended |
| 1213 | + | SYS_getdirentries64 |
| 1214 | SYS_statfs64 | |
| 1215 | − | SYS_sysctl |
| 1216 | + | SYS_fstatfs64 |
| 1217 | + | SYS_getfsstat64 |
| 1218 | + | SYS_bsdthread_create |
| 1219 | + | SYS_bsdthread_terminate |
| 1220 | + | SYS_kqueue |
| 1221 | + | SYS_workq_kernreturn |
| 1222 | SYS_thread_selfid | |
| 1223 | + | SYS_kevent_qos |
| 1224 | + | SYS_kevent_id |
| 1225 | + | SYS___mac_syscall |
| 1226 | + | SYS_read_nocancel |
| 1227 | + | SYS_write_nocancel |
| 1228 | + | SYS_open_nocancel |
| 1229 | + | SYS_close_nocancel |
| 1230 | + | SYS_fcntl_nocancel |
| 1231 | + | SYS_pread_nocancel |
| 1232 | + | SYS_fileport_makefd |
| 1233 | + | SYS_memorystatus_control |
| 1234 | + | SYS_guarded_open_np |
| 1235 | + | SYS_guarded_close_np |
| 1236 | + | SYS_change_fdguard_np |
| 1237 | + | SYS_getattrlistbulk |
| 1238 | + | SYS_openat |
| 1239 | + | SYS_openat_nocancel |
| 1240 | + | SYS_faccessat |
| 1241 | + | SYS_fstatat64 |
| 1242 | + | SYS_mkdirat |
| 1243 | + | SYS_bsdthread_ctl |
| 1244 | + | SYS_thread_selfusage |
| 1245 | + | SYS_guarded_open_dprotected_np |
| 1246 | + | SYS_guarded_pwrite_np |
| 1247 | + | SYS_getentropy |
| 1248 | SYS_ulock_wait | |
| 1249 | − | SYS_ulock_wait2 |
| 1250 | SYS_ulock_wake | |
| 1251 | − | SYS_umask |
| 1252 | − | SYS_workq_kernreturn |
| 1253 | − | SYS_write_nocancel |
| 1254 | − | SYS_writev) |
| 1255 | + | SYS_abort_with_payload |
| 1256 | + | SYS_os_fault_with_payload |
| 1257 | + | SYS_kqueue_workloop_ctl |
| 1258 | + | SYS_shared_region_map_and_slide_2_np |
| 1259 | + | SYS_ulock_wait2 |
| 1260 | + | SYS_map_with_linking_np) |
| 1261 | ) | |
| 1262 | (allow syscall-unix | |
| 1263 | (require-all | |
| 1264 | − | (require-not (syscall-number SYS_persona)) |
| 1265 | − | (require-not (syscall-number SYS_connect)) |
| 1266 | − | (require-not (syscall-number SYS_socket)) |
| 1267 | − | (require-not (syscall-number SYS_crossarch_trap)) |
| 1268 | − | (require-not (syscall-number SYS_sigreturn)) |
| 1269 | − | (require-any |
| 1270 | − | (require-all |
| 1271 | − | (state-flag "ParentProcessCanEnableQuickLookStateFlag") |
| 1272 | − | (require-any |
| 1273 | − | (require-all |
| 1274 | − | (state-flag "EnableQuickLookSandboxResources") |
| 1275 | − | (syscall-number SYS_sendto) |
| 1276 | − | ) |
| 1277 | − | (require-all |
| 1278 | − | (syscall-number |
| 1279 | − | SYS_exit |
| 1280 | − | SYS_read |
| 1281 | − | SYS_write |
| 1282 | − | SYS_open |
| 1283 | − | SYS_close |
| 1284 | − | SYS_unlink |
| 1285 | − | SYS_getuid |
| 1286 | − | SYS_geteuid |
| 1287 | − | SYS_access |
| 1288 | − | SYS_dup |
| 1289 | − | SYS_getegid |
| 1290 | − | SYS_getgid |
| 1291 | − | SYS_sigprocmask |
| 1292 | − | SYS_ioctl |
| 1293 | − | SYS_readlink |
| 1294 | − | SYS_umask |
| 1295 | − | SYS_msync |
| 1296 | − | SYS_munmap |
| 1297 | − | SYS_mprotect |
| 1298 | − | SYS_madvise |
| 1299 | − | SYS_fcntl |
| 1300 | − | SYS_fsync |
| 1301 | − | SYS_gettimeofday |
| 1302 | − | SYS_getrusage |
| 1303 | − | SYS_writev |
| 1304 | − | SYS_rename |
| 1305 | − | SYS_flock |
| 1306 | − | SYS_mkdir |
| 1307 | − | SYS_rmdir |
| 1308 | − | SYS_pread |
| 1309 | − | SYS_csops |
| 1310 | − | SYS_csops_audittoken |
| 1311 | − | SYS_pathconf |
| 1312 | − | SYS_getrlimit |
| 1313 | − | SYS_setrlimit |
| 1314 | − | SYS_mmap |
| 1315 | − | SYS_lseek |
| 1316 | − | SYS_ftruncate |
| 1317 | − | SYS_sysctl |
| 1318 | − | SYS_open_dprotected_np |
| 1319 | − | SYS_openat_dprotected_np |
| 1320 | − | SYS_getattrlist |
| 1321 | − | SYS_fgetattrlist |
| 1322 | − | SYS_fsetattrlist |
| 1323 | − | SYS_getxattr |
| 1324 | − | SYS_fgetxattr |
| 1325 | − | SYS_fsetxattr |
| 1326 | − | SYS_listxattr |
| 1327 | − | SYS_shm_open |
| 1328 | − | SYS_sem_open |
| 1329 | − | SYS_sem_close |
| 1330 | − | SYS_sysctlbyname |
| 1331 | − | SYS_gettid |
| 1332 | − | SYS_psynch_mutexwait |
| 1333 | − | SYS_psynch_mutexdrop |
| 1334 | − | SYS_psynch_cvbroad |
| 1335 | − | SYS_psynch_cvsignal |
| 1336 | − | SYS_psynch_cvwait |
| 1337 | − | SYS_psynch_rw_rdlock |
| 1338 | − | SYS_psynch_rw_wrlock |
| 1339 | − | SYS_psynch_rw_unlock |
| 1340 | − | SYS_psynch_cvclrprepost |
| 1341 | − | SYS_issetugid |
| 1342 | − | SYS___pthread_kill |
| 1343 | − | SYS___pthread_sigmask |
| 1344 | − | SYS___disable_threadsignal |
| 1345 | − | SYS___semwait_signal |
| 1346 | − | SYS_proc_info |
| 1347 | − | SYS_stat64 |
| 1348 | − | SYS_fstat64 |
| 1349 | − | SYS_lstat64 |
| 1350 | − | SYS_fstat64_extended |
| 1351 | − | SYS_getdirentries64 |
| 1352 | − | SYS_statfs64 |
| 1353 | − | SYS_fstatfs64 |
| 1354 | − | SYS_getfsstat64 |
| 1355 | − | SYS_bsdthread_create |
| 1356 | − | SYS_bsdthread_terminate |
| 1357 | − | SYS_kqueue |
| 1358 | − | SYS_workq_kernreturn |
| 1359 | − | SYS_thread_selfid |
| 1360 | − | SYS_kevent_qos |
| 1361 | − | SYS_kevent_id |
| 1362 | − | SYS___mac_syscall |
| 1363 | − | SYS_read_nocancel |
| 1364 | − | SYS_write_nocancel |
| 1365 | − | SYS_open_nocancel |
| 1366 | − | SYS_close_nocancel |
| 1367 | − | SYS_fcntl_nocancel |
| 1368 | − | SYS_pread_nocancel |
| 1369 | − | SYS_fileport_makefd |
| 1370 | − | SYS_memorystatus_control |
| 1371 | − | SYS_guarded_open_np |
| 1372 | − | SYS_guarded_close_np |
| 1373 | − | SYS_change_fdguard_np |
| 1374 | − | SYS_getattrlistbulk |
| 1375 | − | SYS_openat |
| 1376 | − | SYS_openat_nocancel |
| 1377 | − | SYS_renameat |
| 1378 | − | SYS_faccessat |
| 1379 | − | SYS_fstatat64 |
| 1380 | − | SYS_mkdirat |
| 1381 | − | SYS_bsdthread_ctl |
| 1382 | − | SYS_thread_selfusage |
| 1383 | − | SYS_guarded_open_dprotected_np |
| 1384 | − | SYS_guarded_pwrite_np |
| 1385 | − | SYS_getentropy |
| 1386 | − | SYS_ulock_wait |
| 1387 | − | SYS_ulock_wake |
| 1388 | − | SYS_abort_with_payload |
| 1389 | − | SYS_os_fault_with_payload |
| 1390 | − | SYS_kqueue_workloop_ctl |
| 1391 | − | SYS_shared_region_map_and_slide_2_np |
| 1392 | − | SYS_ulock_wait2) |
| 1393 | − | (require-not (syscall-number SYS_sendto)) |
| 1394 | − | (require-not (syscall-number SYS_unlink)) |
| 1395 | − | (require-not (syscall-number SYS_rmdir)) |
| 1396 | − | (require-not (syscall-number SYS_openat_nocancel)) |
| 1397 | − | (require-not (syscall-number SYS_thread_selfusage)) |
| 1398 | − | (require-not (syscall-number SYS_mkdirat)) |
| 1399 | − | (require-not (syscall-number SYS_pread_nocancel)) |
| 1400 | − | ) |
| 1401 | − | ) |
| 1402 | − | ) |
| 1403 | − | (require-all |
| 1404 | − | (syscall-number |
| 1405 | − | SYS_chdir |
| 1406 | − | SYS_getpid |
| 1407 | − | SYS_sigaction |
| 1408 | − | SYS_dup2 |
| 1409 | − | SYS_kdebug_typefilter |
| 1410 | − | SYS_kdebug_trace_string |
| 1411 | − | SYS_kdebug_trace64 |
| 1412 | − | SYS_shared_region_check_np |
| 1413 | − | SYS_bsdthread_register |
| 1414 | − | SYS_workq_open |
| 1415 | − | SYS_fsgetpath |
| 1416 | − | SYS_persona |
| 1417 | − | SYS_objc_bp_assist_cfg_np) |
| 1418 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1419 | − | ) |
| 1420 | − | (syscall-number |
| 1421 | − | SYS_exit |
| 1422 | − | SYS_read |
| 1423 | − | SYS_write |
| 1424 | − | SYS_open |
| 1425 | − | SYS_close |
| 1426 | − | SYS_unlink |
| 1427 | − | SYS_getuid |
| 1428 | − | SYS_geteuid |
| 1429 | − | SYS_access |
| 1430 | − | SYS_dup |
| 1431 | − | SYS_getegid |
| 1432 | − | SYS_getgid |
| 1433 | − | SYS_sigprocmask |
| 1434 | − | SYS_ioctl |
| 1435 | − | SYS_readlink |
| 1436 | − | SYS_umask |
| 1437 | − | SYS_msync |
| 1438 | − | SYS_munmap |
| 1439 | − | SYS_mprotect |
| 1440 | − | SYS_madvise |
| 1441 | − | SYS_fcntl |
| 1442 | − | SYS_fsync |
| 1443 | − | SYS_gettimeofday |
| 1444 | − | SYS_getrusage |
| 1445 | − | SYS_writev |
| 1446 | − | SYS_rename |
| 1447 | − | SYS_flock |
| 1448 | − | SYS_mkdir |
| 1449 | − | SYS_rmdir |
| 1450 | − | SYS_pread |
| 1451 | − | SYS_csops |
| 1452 | − | SYS_csops_audittoken |
| 1453 | − | SYS_pathconf |
| 1454 | − | SYS_getrlimit |
| 1455 | − | SYS_setrlimit |
| 1456 | − | SYS_mmap |
| 1457 | − | SYS_lseek |
| 1458 | − | SYS_ftruncate |
| 1459 | − | SYS_sysctl |
| 1460 | − | SYS_open_dprotected_np |
| 1461 | − | SYS_openat_dprotected_np |
| 1462 | − | SYS_getattrlist |
| 1463 | − | SYS_fgetattrlist |
| 1464 | − | SYS_fsetattrlist |
| 1465 | − | SYS_getxattr |
| 1466 | − | SYS_fgetxattr |
| 1467 | − | SYS_fsetxattr |
| 1468 | − | SYS_listxattr |
| 1469 | − | SYS_shm_open |
| 1470 | − | SYS_sem_open |
| 1471 | − | SYS_sem_close |
| 1472 | − | SYS_sysctlbyname |
| 1473 | − | SYS_gettid |
| 1474 | − | SYS_psynch_mutexwait |
| 1475 | − | SYS_psynch_mutexdrop |
| 1476 | − | SYS_psynch_cvbroad |
| 1477 | − | SYS_psynch_cvsignal |
| 1478 | − | SYS_psynch_cvwait |
| 1479 | − | SYS_psynch_rw_rdlock |
| 1480 | − | SYS_psynch_rw_wrlock |
| 1481 | − | SYS_psynch_rw_unlock |
| 1482 | − | SYS_psynch_cvclrprepost |
| 1483 | − | SYS_issetugid |
| 1484 | − | SYS___pthread_kill |
| 1485 | − | SYS___pthread_sigmask |
| 1486 | − | SYS___disable_threadsignal |
| 1487 | − | SYS___semwait_signal |
| 1488 | − | SYS_proc_info |
| 1489 | − | SYS_stat64 |
| 1490 | − | SYS_fstat64 |
| 1491 | − | SYS_lstat64 |
| 1492 | − | SYS_fstat64_extended |
| 1493 | − | SYS_getdirentries64 |
| 1494 | − | SYS_statfs64 |
| 1495 | − | SYS_fstatfs64 |
| 1496 | − | SYS_getfsstat64 |
| 1497 | − | SYS_bsdthread_create |
| 1498 | − | SYS_bsdthread_terminate |
| 1499 | − | SYS_kqueue |
| 1500 | − | SYS_workq_kernreturn |
| 1501 | − | SYS_thread_selfid |
| 1502 | − | SYS_kevent_qos |
| 1503 | − | SYS_kevent_id |
| 1504 | − | SYS___mac_syscall |
| 1505 | − | SYS_read_nocancel |
| 1506 | − | SYS_write_nocancel |
| 1507 | − | SYS_open_nocancel |
| 1508 | − | SYS_close_nocancel |
| 1509 | − | SYS_fcntl_nocancel |
| 1510 | − | SYS_pread_nocancel |
| 1511 | − | SYS_fileport_makefd |
| 1512 | − | SYS_memorystatus_control |
| 1513 | − | SYS_guarded_open_np |
| 1514 | − | SYS_guarded_close_np |
| 1515 | − | SYS_change_fdguard_np |
| 1516 | − | SYS_getattrlistbulk |
| 1517 | − | SYS_openat |
| 1518 | − | SYS_openat_nocancel |
| 1519 | − | SYS_renameat |
| 1520 | − | SYS_faccessat |
| 1521 | − | SYS_fstatat64 |
| 1522 | − | SYS_mkdirat |
| 1523 | − | SYS_bsdthread_ctl |
| 1524 | − | SYS_thread_selfusage |
| 1525 | − | SYS_guarded_open_dprotected_np |
| 1526 | − | SYS_guarded_pwrite_np |
| 1527 | − | SYS_getentropy |
| 1528 | − | SYS_ulock_wait |
| 1529 | − | SYS_ulock_wake |
| 1530 | − | SYS_abort_with_payload |
| 1531 | − | SYS_os_fault_with_payload |
| 1532 | − | SYS_kqueue_workloop_ctl |
| 1533 | − | SYS_shared_region_map_and_slide_2_np |
| 1534 | − | SYS_ulock_wait2) |
| 1535 | − | (syscall-number SYS_sendto) |
| 1536 | − | ) |
| 1537 | + | (syscall-number SYS_kdebug_trace64 SYS_kdebug_typefilter) |
| 1538 | + | (system-attribute developer-mode) |
| 1539 | ) | |
| 1540 | ) | |
| 1541 | (allow syscall-unix | |
| 1542 | (require-all | |
| 1543 | − | (system-attribute developer-mode) |
| 1544 | + | (syscall-number |
| 1545 | + | SYS_chdir |
| 1546 | + | SYS_getpid |
| 1547 | + | SYS_sigaction |
| 1548 | + | SYS_dup2 |
| 1549 | + | SYS_shared_region_check_np |
| 1550 | + | SYS_bsdthread_register |
| 1551 | + | SYS_workq_open |
| 1552 | + | SYS_fsgetpath |
| 1553 | + | SYS_persona |
| 1554 | + | SYS_objc_bp_assist_cfg_np) |
| 1555 | + | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1556 | + | ) |
| 1557 | + | ) |
| 1558 | + | (allow syscall-unix |
| 1559 | + | (require-all |
| 1560 | + | (syscall-number SYS_kdebug_trace_string) |
| 1561 | (require-any | |
| 1562 | − | (syscall-number SYS_kdebug_trace64) |
| 1563 | − | (syscall-number SYS_kdebug_trace_string) |
| 1564 | − | (syscall-number SYS_kdebug_typefilter) |
| 1565 | + | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1566 | + | (system-attribute developer-mode) |
| 1567 | ) | |
| 1568 | ) | |
| 1569 | ) | |
| 1570 | ||
| 1571 | (deny syscall-mach) | |
| 1572 | + | (allow syscall-mach |
| 1573 | + | (with report) |
| 1574 | + | (system-attribute developer-mode) |
| 1575 | + | ) |
| 1576 | (allow syscall-mach | |
| 1577 | (machtrap-number | |
| 1578 | + | MSC__kernelrpc_mach_vm_allocate_trap |
| 1579 | + | MSC__kernelrpc_mach_vm_purgable_control_trap |
| 1580 | + | MSC__kernelrpc_mach_vm_deallocate_trap |
| 1581 | + | MSC__kernelrpc_mach_vm_protect_trap |
| 1582 | + | MSC__kernelrpc_mach_vm_map_trap |
| 1583 | MSC__kernelrpc_mach_port_allocate_trap | |
| 1584 | − | MSC__kernelrpc_mach_port_construct_trap |
| 1585 | MSC__kernelrpc_mach_port_deallocate_trap | |
| 1586 | − | MSC__kernelrpc_mach_port_destruct_trap |
| 1587 | + | MSC__kernelrpc_mach_port_mod_refs_trap |
| 1588 | + | MSC__kernelrpc_mach_port_insert_right_trap |
| 1589 | + | MSC__kernelrpc_mach_port_insert_member_trap |
| 1590 | MSC__kernelrpc_mach_port_extract_member_trap | |
| 1591 | + | MSC__kernelrpc_mach_port_construct_trap |
| 1592 | + | MSC__kernelrpc_mach_port_destruct_trap |
| 1593 | + | MSC_mach_reply_port |
| 1594 | + | MSC_thread_self_trap |
| 1595 | + | MSC_task_self_trap |
| 1596 | + | MSC_host_self_trap |
| 1597 | + | MSC_mach_msg_trap |
| 1598 | + | MSC_semaphore_signal_trap |
| 1599 | + | MSC_semaphore_wait_trap |
| 1600 | + | MSC_semaphore_timedwait_trap |
| 1601 | MSC__kernelrpc_mach_port_get_attributes_trap | |
| 1602 | MSC__kernelrpc_mach_port_guard_trap | |
| 1603 | − | MSC__kernelrpc_mach_port_insert_member_trap |
| 1604 | − | MSC__kernelrpc_mach_port_insert_right_trap |
| 1605 | − | MSC__kernelrpc_mach_port_mod_refs_trap |
| 1606 | − | MSC__kernelrpc_mach_port_request_notification_trap |
| 1607 | − | MSC__kernelrpc_mach_port_type_trap |
| 1608 | MSC__kernelrpc_mach_port_unguard_trap | |
| 1609 | − | MSC__kernelrpc_mach_vm_allocate_trap |
| 1610 | − | MSC__kernelrpc_mach_vm_deallocate_trap |
| 1611 | − | MSC__kernelrpc_mach_vm_map_trap |
| 1612 | − | MSC__kernelrpc_mach_vm_protect_trap |
| 1613 | − | MSC__kernelrpc_mach_vm_purgable_control_trap |
| 1614 | − | MSC_host_create_mach_voucher_trap |
| 1615 | − | MSC_host_self_trap |
| 1616 | − | MSC_iokit_user_client_trap |
| 1617 | MSC_mach_generate_activity_id | |
| 1618 | + | MSC_task_name_for_pid |
| 1619 | + | MSC_pid_for_task |
| 1620 | MSC_mach_msg2_trap | |
| 1621 | − | MSC_mach_msg_trap |
| 1622 | − | MSC_mach_reply_port |
| 1623 | + | MSC_thread_get_special_reply_port |
| 1624 | + | MSC_swtch_pri |
| 1625 | + | MSC_syscall_thread_switch |
| 1626 | + | MSC_host_create_mach_voucher_trap |
| 1627 | MSC_mach_voucher_extract_attr_recipe_trap | |
| 1628 | − | MSC_mk_timer_arm |
| 1629 | − | MSC_mk_timer_cancel |
| 1630 | + | MSC__kernelrpc_mach_port_type_trap |
| 1631 | + | MSC__kernelrpc_mach_port_request_notification_trap |
| 1632 | + | MSC_mach_timebase_info_trap |
| 1633 | MSC_mk_timer_create | |
| 1634 | MSC_mk_timer_destroy | |
| 1635 | − | MSC_pid_for_task |
| 1636 | − | MSC_semaphore_signal_trap |
| 1637 | − | MSC_semaphore_timedwait_trap |
| 1638 | − | MSC_semaphore_wait_trap |
| 1639 | − | MSC_swtch_pri |
| 1640 | − | MSC_syscall_thread_switch |
| 1641 | − | MSC_task_name_for_pid |
| 1642 | − | MSC_thread_get_special_reply_port |
| 1643 | − | MSC_thread_self_trap) |
| 1644 | − | ) |
| 1645 | − | (allow syscall-mach |
| 1646 | − | (require-all |
| 1647 | − | (machtrap-number MSC_mach_timebase_info_trap MSC_task_self_trap) |
| 1648 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1649 | − | ) |
| 1650 | + | MSC_mk_timer_arm |
| 1651 | + | MSC_mk_timer_cancel |
| 1652 | + | MSC_iokit_user_client_trap) |
| 1653 | ) | |
| 1654 | ||
| 1655 | + | (deny syscall-mig) |
| 1656 | + | (allow syscall-mig |
| 1657 | + | (with report) |
| 1658 | + | (system-attribute developer-mode) |
| 1659 | + | ) |
| 1660 | (allow syscall-mig | |
| 1661 | (kernel-mig-routine | |
| 1662 | − | host_get_io_master |
| 1663 | + | _mach_make_memory_entry |
| 1664 | + | clock_get_time |
| 1665 | host_get_clock_service | |
| 1666 | + | host_get_io_master |
| 1667 | + | host_get_special_port |
| 1668 | + | host_info |
| 1669 | + | io_iterator_next |
| 1670 | io_registry_entry_from_path | |
| 1671 | − | io_service_open_extended |
| 1672 | − | io_server_version |
| 1673 | io_registry_entry_get_property_bin_buf | |
| 1674 | − | mach_port_get_refs |
| 1675 | − | mach_port_request_notification |
| 1676 | + | io_registry_entry_get_property_bytes |
| 1677 | + | io_registry_entry_get_registry_entry_id |
| 1678 | + | io_server_version |
| 1679 | + | io_service_open_extended |
| 1680 | + | mach_exception_raise |
| 1681 | + | mach_memory_entry_ownership |
| 1682 | mach_port_extract_right | |
| 1683 | − | mach_port_set_attributes |
| 1684 | mach_port_get_context_from_user | |
| 1685 | + | mach_port_get_refs |
| 1686 | mach_port_is_connection_for_service | |
| 1687 | − | task_info_from_user |
| 1688 | − | task_get_special_port_from_user |
| 1689 | + | mach_port_request_notification |
| 1690 | + | mach_port_set_attributes |
| 1691 | + | mach_vm_copy |
| 1692 | + | mach_vm_map_external |
| 1693 | + | mach_vm_range_create |
| 1694 | + | mach_vm_region |
| 1695 | + | mach_vm_region_recurse |
| 1696 | + | mach_voucher_attr_command |
| 1697 | semaphore_create | |
| 1698 | semaphore_destroy | |
| 1699 | task_create_identity_token | |
| 1700 | + | task_get_special_port_from_user |
| 1701 | + | task_info_from_user |
| 1702 | + | task_restartable_ranges_register |
| 1703 | + | task_restartable_ranges_synchronize |
| 1704 | + | task_set_exc_guard_behavior |
| 1705 | + | task_set_special_port |
| 1706 | + | task_threads_from_user |
| 1707 | thread_get_state_to_user | |
| 1708 | − | thread_suspend |
| 1709 | + | thread_info |
| 1710 | + | thread_policy |
| 1711 | + | thread_policy_set |
| 1712 | thread_resume | |
| 1713 | − | mach_vm_copy |
| 1714 | − | mach_vm_map_external |
| 1715 | − | mach_vm_remap_external |
| 1716 | − | mach_vm_region_recurse |
| 1717 | − | _mach_make_memory_entry |
| 1718 | − | mach_memory_entry_ownership |
| 1719 | − | mach_voucher_attr_command |
| 1720 | − | task_restartable_ranges_synchronize) |
| 1721 | + | thread_suspend) |
| 1722 | ) | |
| 1723 | (allow syscall-mig | |
| 1724 | (require-all | |
| 1725 | − | (require-not (kernel-mig-routine io_service_get_matching_services_bin)) |
| 1726 | − | (require-not (kernel-mig-routine io_service_get_matching_service_bin)) |
| 1727 | − | (require-any |
| 1728 | − | (kernel-mig-routine |
| 1729 | − | host_get_io_master |
| 1730 | − | host_get_clock_service |
| 1731 | − | clock_get_time |
| 1732 | − | mach_exception_raise |
| 1733 | − | io_iterator_next |
| 1734 | − | io_registry_entry_from_path |
| 1735 | − | io_registry_entry_get_property_bytes |
| 1736 | − | io_service_open_extended |
| 1737 | − | io_registry_entry_get_registry_entry_id |
| 1738 | − | io_server_version |
| 1739 | − | io_registry_entry_get_property_bin_buf |
| 1740 | − | mach_port_get_refs |
| 1741 | − | mach_port_request_notification |
| 1742 | − | mach_port_extract_right |
| 1743 | − | mach_port_set_attributes |
| 1744 | − | mach_port_get_context_from_user |
| 1745 | − | task_threads_from_user |
| 1746 | − | task_info_from_user |
| 1747 | − | task_get_special_port_from_user |
| 1748 | − | semaphore_create |
| 1749 | − | semaphore_destroy |
| 1750 | − | task_set_exc_guard_behavior |
| 1751 | − | task_create_identity_token |
| 1752 | − | thread_get_state_to_user |
| 1753 | − | thread_suspend |
| 1754 | − | thread_resume |
| 1755 | − | thread_info |
| 1756 | − | thread_policy |
| 1757 | − | thread_policy_set |
| 1758 | − | mach_vm_copy |
| 1759 | − | mach_vm_map_external |
| 1760 | − | mach_vm_remap_external |
| 1761 | − | mach_vm_region_recurse |
| 1762 | − | mach_vm_region |
| 1763 | − | _mach_make_memory_entry |
| 1764 | − | mach_memory_entry_ownership |
| 1765 | − | mach_voucher_attr_command |
| 1766 | − | task_restartable_ranges_synchronize) |
| 1767 | − | (require-all |
| 1768 | − | (kernel-mig-routine host_get_special_port) |
| 1769 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1770 | − | ) |
| 1771 | − | (require-all |
| 1772 | − | (kernel-mig-routine host_info) |
| 1773 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1774 | − | ) |
| 1775 | − | (require-all |
| 1776 | − | (kernel-mig-routine mach_vm_range_create) |
| 1777 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1778 | − | ) |
| 1779 | − | (require-all |
| 1780 | − | (kernel-mig-routine task_restartable_ranges_register) |
| 1781 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1782 | − | ) |
| 1783 | − | (require-all |
| 1784 | − | (kernel-mig-routine task_set_special_port) |
| 1785 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1786 | − | ) |
| 1787 | − | ) |
| 1788 | − | ) |
| 1789 | − | ) |
| 1790 | − | |
| 1791 | − | (allow mach-kernel-endpoint |
| 1792 | − | (apply-message-filter |
| 1793 | − | (deny mach-message-send) |
| 1794 | − | (allow mach-message-send |
| 1795 | − | (require-all |
| 1796 | − | (kernel-mig-routine task_register_hardened_exception_handler) |
| 1797 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1798 | − | ) |
| 1799 | − | ) |
| 1800 | − | (allow mach-message-send |
| 1801 | − | (kernel-mig-routine thread_adopt_exception_handler) |
| 1802 | − | ) |
| 1803 | + | (kernel-mig-routine |
| 1804 | + | task_register_hardened_exception_handler |
| 1805 | + | thread_adopt_exception_handler) |
| 1806 | + | (require-not (signing-identifier "com.apple.WebKit.WebContent.CaptivePortal")) |
| 1807 | ) | |
| 1808 | ) | |
| 1809 | ||
| 1810 | (allow sysctl-read | |
| 1811 | − | (require-all |
| 1812 | − | (sysctl-name "vm.malloc_ranges") |
| 1813 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1814 | − | ) |
| 1815 | + | (with report) |
| 1816 | + | (system-attribute developer-mode) |
| 1817 | ) | |
| 1818 | (allow sysctl-read | |
| 1819 | − | (require-all |
| 1820 | − | (require-not (sysctl-name "vm.task_no_footprint_for_debug")) |
| 1821 | − | (require-any |
| 1822 | − | (require-all |
| 1823 | − | (require-not (sysctl-name "hw.cpufrequency_compat")) |
| 1824 | − | (require-not (sysctl-name "sysctl.proc_native")) |
| 1825 | − | (sysctl-name "hw.tbfrequency_compat") |
| 1826 | − | ) |
| 1827 | − | (require-all |
| 1828 | − | (sysctl-name "kern.boottime") |
| 1829 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1830 | − | ) |
| 1831 | − | (require-any |
| 1832 | − | (sysctl-name "hw.activecpu") |
| 1833 | − | (sysctl-name "hw.machine") |
| 1834 | − | (sysctl-name "hw.memsize") |
| 1835 | − | (sysctl-name "hw.ncpu") |
| 1836 | − | (sysctl-name "kern.osproductversion") |
| 1837 | − | (sysctl-name "kern.osvariant_status") |
| 1838 | − | (sysctl-name "kern.secure_kernel") |
| 1839 | − | ) |
| 1840 | − | (require-any |
| 1841 | − | (sysctl-name "hw.availcpu") |
| 1842 | − | (sysctl-name "hw.cputhreadtype") |
| 1843 | − | (sysctl-name "net.routetable*") |
| 1844 | − | ) |
| 1845 | − | (require-any |
| 1846 | − | (sysctl-name "hw.byteorder") |
| 1847 | − | (sysctl-name "hw.cacheconfig") |
| 1848 | − | (sysctl-name "hw.cachelinesize_compat") |
| 1849 | − | (sysctl-name "hw.cachesize") |
| 1850 | − | (sysctl-name "hw.cputype") |
| 1851 | − | (sysctl-name "hw.l1dcachesize") |
| 1852 | − | (sysctl-name "hw.l1icachesize") |
| 1853 | − | (sysctl-name "hw.l3cachesize") |
| 1854 | − | (sysctl-name "hw.optional.*") |
| 1855 | − | (sysctl-name "hw.pagesize") |
| 1856 | − | (sysctl-name "hw.physmem") |
| 1857 | − | (sysctl-name "hw.vectorunit") |
| 1858 | − | (sysctl-name "kern.memorystatus_level") |
| 1859 | − | ) |
| 1860 | − | (require-any |
| 1861 | − | (sysctl-name "hw.cachelinesize") |
| 1862 | − | (sysctl-name "hw.cpufamily") |
| 1863 | − | (sysctl-name "hw.l2cachesize") |
| 1864 | − | (sysctl-name "hw.perflevel*") |
| 1865 | − | (sysctl-name "kern.hv_vmm_present") |
| 1866 | − | ) |
| 1867 | − | (require-any |
| 1868 | − | (sysctl-name "hw.logicalcpu") |
| 1869 | − | (sysctl-name "hw.nperflevels") |
| 1870 | − | (sysctl-name "sysctl.name2oid") |
| 1871 | − | ) |
| 1872 | − | (require-any |
| 1873 | − | (sysctl-name "hw.logicalcpu_max") |
| 1874 | − | (sysctl-name "hw.model") |
| 1875 | − | (sysctl-name "hw.physicalcpu_max") |
| 1876 | − | (sysctl-name "hw.product") |
| 1877 | − | ) |
| 1878 | − | (require-any |
| 1879 | − | (sysctl-name "kern.hostname") |
| 1880 | − | (sysctl-name "kern.ostype") |
| 1881 | − | (sysctl-name "kern.version") |
| 1882 | − | ) |
| 1883 | − | (require-any |
| 1884 | − | (sysctl-name "kern.maxfilesperproc") |
| 1885 | − | (sysctl-name "kern.osversion") |
| 1886 | − | ) |
| 1887 | − | (sysctl-name "hw.cpusubfamily") |
| 1888 | − | (sysctl-name "hw.pagesize_compat") |
| 1889 | − | (sysctl-name "hw.physicalcpu") |
| 1890 | − | (sysctl-name "kern.bootargs") |
| 1891 | − | (sysctl-name "kern.bootsessionuuid") |
| 1892 | − | (sysctl-name "kern.osrelease") |
| 1893 | − | (sysctl-name "kern.willshutdown") |
| 1894 | − | (sysctl-name "vm.footprint_suspend") |
| 1895 | − | ) |
| 1896 | − | ) |
| 1897 | − | ) |
| 1898 | − | (deny sysctl-read |
| 1899 | − | (with no-report) |
| 1900 | − | (require-all |
| 1901 | − | (require-not (sysctl-name "vm.task_no_footprint_for_debug")) |
| 1902 | − | (require-any |
| 1903 | − | (require-all |
| 1904 | − | (require-not (sysctl-name "hw.cpufrequency_compat")) |
| 1905 | − | (require-not (sysctl-name "sysctl.proc_native")) |
| 1906 | − | (sysctl-name "hw.tbfrequency_compat") |
| 1907 | − | ) |
| 1908 | − | (require-all |
| 1909 | − | (sysctl-name "kern.boottime") |
| 1910 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1911 | − | ) |
| 1912 | − | (require-any |
| 1913 | − | (sysctl-name "hw.activecpu") |
| 1914 | − | (sysctl-name "hw.machine") |
| 1915 | − | (sysctl-name "hw.memsize") |
| 1916 | − | (sysctl-name "hw.ncpu") |
| 1917 | − | (sysctl-name "kern.osproductversion") |
| 1918 | − | (sysctl-name "kern.osvariant_status") |
| 1919 | − | (sysctl-name "kern.secure_kernel") |
| 1920 | − | ) |
| 1921 | − | (require-any |
| 1922 | − | (sysctl-name "hw.availcpu") |
| 1923 | − | (sysctl-name "hw.cputhreadtype") |
| 1924 | − | (sysctl-name "net.routetable*") |
| 1925 | − | ) |
| 1926 | − | (require-any |
| 1927 | − | (sysctl-name "hw.byteorder") |
| 1928 | − | (sysctl-name "hw.cacheconfig") |
| 1929 | − | (sysctl-name "hw.cachelinesize_compat") |
| 1930 | − | (sysctl-name "hw.cachesize") |
| 1931 | − | (sysctl-name "hw.cputype") |
| 1932 | − | (sysctl-name "hw.l1dcachesize") |
| 1933 | − | (sysctl-name "hw.l1icachesize") |
| 1934 | − | (sysctl-name "hw.l3cachesize") |
| 1935 | − | (sysctl-name "hw.optional.*") |
| 1936 | − | (sysctl-name "hw.pagesize") |
| 1937 | − | (sysctl-name "hw.physmem") |
| 1938 | − | (sysctl-name "hw.vectorunit") |
| 1939 | − | (sysctl-name "kern.memorystatus_level") |
| 1940 | − | ) |
| 1941 | − | (require-any |
| 1942 | − | (sysctl-name "hw.cachelinesize") |
| 1943 | − | (sysctl-name "hw.cpufamily") |
| 1944 | − | (sysctl-name "hw.l2cachesize") |
| 1945 | − | (sysctl-name "hw.perflevel*") |
| 1946 | − | (sysctl-name "kern.hv_vmm_present") |
| 1947 | − | ) |
| 1948 | − | (require-any |
| 1949 | − | (sysctl-name "hw.logicalcpu") |
| 1950 | − | (sysctl-name "hw.nperflevels") |
| 1951 | − | (sysctl-name "sysctl.name2oid") |
| 1952 | − | ) |
| 1953 | − | (require-any |
| 1954 | − | (sysctl-name "hw.logicalcpu_max") |
| 1955 | − | (sysctl-name "hw.model") |
| 1956 | − | (sysctl-name "hw.physicalcpu_max") |
| 1957 | − | (sysctl-name "hw.product") |
| 1958 | − | ) |
| 1959 | − | (require-any |
| 1960 | − | (sysctl-name "kern.hostname") |
| 1961 | − | (sysctl-name "kern.ostype") |
| 1962 | − | (sysctl-name "kern.version") |
| 1963 | − | ) |
| 1964 | − | (require-any |
| 1965 | − | (sysctl-name "kern.maxfilesperproc") |
| 1966 | − | (sysctl-name "kern.osversion") |
| 1967 | − | ) |
| 1968 | − | (sysctl-name "hw.cpusubfamily") |
| 1969 | − | (sysctl-name "hw.pagesize_compat") |
| 1970 | − | (sysctl-name "hw.physicalcpu") |
| 1971 | − | (sysctl-name "kern.bootargs") |
| 1972 | − | (sysctl-name "kern.bootsessionuuid") |
| 1973 | − | (sysctl-name "kern.osrelease") |
| 1974 | − | (sysctl-name "kern.willshutdown") |
| 1975 | − | (sysctl-name "vm.footprint_suspend") |
| 1976 | − | ) |
| 1977 | − | ) |
| 1978 | − | ) |
| 1979 | − | (deny sysctl-read |
| 1980 | − | (require-all |
| 1981 | − | (require-not (sysctl-name "vm.task_no_footprint_for_debug")) |
| 1982 | − | (require-any |
| 1983 | − | (require-all |
| 1984 | − | (require-not (sysctl-name "hw.cpufrequency_compat")) |
| 1985 | − | (require-not (sysctl-name "sysctl.proc_native")) |
| 1986 | − | (sysctl-name "hw.tbfrequency_compat") |
| 1987 | − | ) |
| 1988 | − | (require-all |
| 1989 | − | (sysctl-name "kern.boottime") |
| 1990 | − | (require-not (state-flag "local:WebContentProcessLaunched")) |
| 1991 | − | ) |
| 1992 | − | (require-any |
| 1993 | − | (sysctl-name "hw.activecpu") |
| 1994 | − | (sysctl-name "hw.machine") |
| 1995 | − | (sysctl-name "hw.memsize") |
| 1996 | − | (sysctl-name "hw.ncpu") |
| 1997 | − | (sysctl-name "kern.osproductversion") |
| 1998 | − | (sysctl-name "kern.osvariant_status") |
| 1999 | − | (sysctl-name "kern.secure_kernel") |
| 2000 | − | ) |
| 2001 | − | (require-any |
| 2002 | − | (sysctl-name "hw.availcpu") |
| 2003 | − | (sysctl-name "hw.cputhreadtype") |
| 2004 | − | (sysctl-name "net.routetable*") |
| 2005 | − | ) |
| 2006 | − | (require-any |
| 2007 | − | (sysctl-name "hw.byteorder") |
| 2008 | − | (sysctl-name "hw.cacheconfig") |
| 2009 | − | (sysctl-name "hw.cachelinesize_compat") |
| 2010 | − | (sysctl-name "hw.cachesize") |
| 2011 | − | (sysctl-name "hw.cputype") |
| 2012 | − | (sysctl-name "hw.l1dcachesize") |
| 2013 | − | (sysctl-name "hw.l1icachesize") |
| 2014 | − | (sysctl-name "hw.l3cachesize") |
| 2015 | − | (sysctl-name "hw.optional.*") |
| 2016 | − | (sysctl-name "hw.pagesize") |
| 2017 | − | (sysctl-name "hw.physmem") |
| 2018 | − | (sysctl-name "hw.vectorunit") |
| 2019 | − | (sysctl-name "kern.memorystatus_level") |
| 2020 | − | ) |
| 2021 | − | (require-any |
| 2022 | − | (sysctl-name "hw.cachelinesize") |
| 2023 | − | (sysctl-name "hw.cpufamily") |
| 2024 | − | (sysctl-name "hw.l2cachesize") |
| 2025 | − | (sysctl-name "hw.perflevel*") |
| 2026 | − | (sysctl-name "kern.hv_vmm_present") |
| 2027 | − | ) |
| 2028 | − | (require-any |
| 2029 | − | (sysctl-name "hw.logicalcpu") |
| 2030 | − | (sysctl-name "hw.nperflevels") |
| 2031 | − | (sysctl-name "sysctl.name2oid") |
| 2032 | − | ) |
| 2033 | − | (require-any |
| 2034 | − | (sysctl-name "hw.logicalcpu_max") |
| 2035 | − | (sysctl-name "hw.model") |
| 2036 | − | (sysctl-name "hw.physicalcpu_max") |
| 2037 | − | (sysctl-name "hw.product") |
| 2038 | − | ) |
| 2039 | − | (require-any |
| 2040 | − | (sysctl-name "kern.hostname") |
| 2041 | − | (sysctl-name "kern.ostype") |
| 2042 | − | (sysctl-name "kern.version") |
| 2043 | − | ) |
| 2044 | − | (require-any |
| 2045 | − | (sysctl-name "kern.maxfilesperproc") |
| 2046 | − | (sysctl-name "kern.osversion") |
| 2047 | − | ) |
| 2048 | − | (sysctl-name "hw.cpusubfamily") |
| 2049 | − | (sysctl-name "hw.pagesize_compat") |
| 2050 | − | (sysctl-name "hw.physicalcpu") |
| 2051 | − | (sysctl-name "kern.bootargs") |
| 2052 | − | (sysctl-name "kern.bootsessionuuid") |
| 2053 | − | (sysctl-name "kern.osrelease") |
| 2054 | − | (sysctl-name "kern.willshutdown") |
| 2055 | − | (sysctl-name "vm.footprint_suspend") |
| 2056 | − | ) |
| 2057 | + | (require-any |
| 2058 | + | (sysctl-name "hw.activecpu") |
| 2059 | + | (sysctl-name "hw.availcpu") |
| 2060 | + | (sysctl-name "hw.byteorder") |
| 2061 | + | (sysctl-name "hw.cacheconfig") |
| 2062 | + | (sysctl-name "hw.cachelinesize") |
| 2063 | + | (sysctl-name "hw.cachelinesize_compat") |
| 2064 | + | (sysctl-name "hw.cachesize") |
| 2065 | + | (sysctl-name "hw.cpufamily") |
| 2066 | + | (sysctl-name "hw.cpusubfamily") |
| 2067 | + | (sysctl-name "hw.cputhreadtype") |
| 2068 | + | (sysctl-name "hw.cputype") |
| 2069 | + | (sysctl-name "hw.l1dcachesize") |
| 2070 | + | (sysctl-name "hw.l1icachesize") |
| 2071 | + | (sysctl-name "hw.l2cachesize") |
| 2072 | + | (sysctl-name "hw.l3cachesize") |
| 2073 | + | (sysctl-name "hw.logicalcpu") |
| 2074 | + | (sysctl-name "hw.logicalcpu_max") |
| 2075 | + | (sysctl-name "hw.machine") |
| 2076 | + | (sysctl-name "hw.memsize") |
| 2077 | + | (sysctl-name "hw.model") |
| 2078 | + | (sysctl-name "hw.ncpu") |
| 2079 | + | (sysctl-name "hw.nperflevels") |
| 2080 | + | (sysctl-name "hw.optional.*") |
| 2081 | + | (sysctl-name "hw.pagesize") |
| 2082 | + | (sysctl-name "hw.pagesize_compat") |
| 2083 | + | (sysctl-name "hw.perflevel*") |
| 2084 | + | (sysctl-name "hw.physicalcpu") |
| 2085 | + | (sysctl-name "hw.physicalcpu_max") |
| 2086 | + | (sysctl-name "hw.physmem") |
| 2087 | + | (sysctl-name "hw.product") |
| 2088 | + | (sysctl-name "hw.vectorunit") |
| 2089 | + | (sysctl-name "kern.bootargs") |
| 2090 | + | (sysctl-name "kern.bootsessionuuid") |
| 2091 | + | (sysctl-name "kern.boottime") |
| 2092 | + | (sysctl-name "kern.hostname") |
| 2093 | + | (sysctl-name "kern.hv_vmm_present") |
| 2094 | + | (sysctl-name "kern.maxfilesperproc") |
| 2095 | + | (sysctl-name "kern.memorystatus_level") |
| 2096 | + | (sysctl-name "kern.osproductversion") |
| 2097 | + | (sysctl-name "kern.osrelease") |
| 2098 | + | (sysctl-name "kern.ostype") |
| 2099 | + | (sysctl-name "kern.osvariant_status") |
| 2100 | + | (sysctl-name "kern.osversion") |
| 2101 | + | (sysctl-name "kern.secure_kernel") |
| 2102 | + | (sysctl-name "kern.version") |
| 2103 | + | (sysctl-name "kern.willshutdown") |
| 2104 | + | (sysctl-name "net.routetable*") |
| 2105 | + | (sysctl-name "sysctl.name2oid") |
| 2106 | + | (sysctl-name "vm.footprint_suspend") |
| 2107 | + | (sysctl-name "vm.malloc_ranges") |
| 2108 | ) | |
| 2109 | ) | |
| 2110 | ||
| 2111 | (allow system-audit) | |
| 2112 | ||
| 2113 | (deny system-fcntl) | |
| 2114 | + | (allow system-fcntl |
| 2115 | + | (with report) |
| 2116 | + | (system-attribute developer-mode) |
| 2117 | + | ) |
| 2118 | (allow system-fcntl | |
| 2119 | (fcntl-command | |
| 2120 | F_GETFD | |
| 2121 | ||
| 2122 | F_GETSIGSINFO) | |
| 2123 | ) | |
| 2124 | ||
| 2125 | − | (deny system-info |
| 2126 | − | (with no-report) |
| 2127 | − | (info-type "net.link.addr") |
| 2128 | − | ) |
| 2129 | − | (deny system-info) |
| 2130 | − | |
| 2131 | (deny system-mac-syscall) | |
| 2132 | − | (with-filter (mac-policy-name "AMFI") |
| 2133 | − | (allow system-mac-syscall |
| 2134 | − | (mac-syscall-number 102 90) |
| 2135 | − | ) |
| 2136 | + | (allow system-mac-syscall |
| 2137 | + | (with report) |
| 2138 | + | (system-attribute developer-mode) |
| 2139 | ) | |
| 2140 | (with-filter (mac-policy-name "Sandbox") | |
| 2141 | (allow system-mac-syscall | |
| 2142 | (mac-syscall-number 5 65) | |
| 2143 | ) | |
| 2144 | ) | |
| 2145 | − | (with-filter (mac-policy-name "Sandbox") |
| 2146 | − | (allow system-mac-syscall |
| 2147 | − | (mac-syscall-number 2 4 6 7 67) |
| 2148 | − | ) |
| 2149 | − | ) |
| 2150 | ||
| 2151 | (deny system-necp-client-action) | |
| 2152 | ||
| 2153 | ||
| 2154 | (%entitlement-is-bool-true "com.apple.private.kernel.override-cpumon") | |
| 2155 | ) | |
| 2156 | ||
| 2157 | + | (allow user-preference-read |
| 2158 | + | (with report) |
| 2159 | + | (system-attribute developer-mode) |
| 2160 | + | ) |
| 2161 | (allow user-preference-read | |
| 2162 | (require-any | |
| 2163 | (extension "com.apple.security.exception.shared-preference.read-only") | |
| 2164 | ||
| 2165 | ) | |
| 2166 | ) | |
| 2167 | ||
| 2168 | + | (allow managed-preference-read |
| 2169 | + | (with report) |
| 2170 | + | (system-attribute developer-mode) |
| 2171 | + | ) |
| 2172 | (allow managed-preference-read | |
| 2173 | (require-any | |
| 2174 | (extension "com.apple.security.exception.managed-preference.read-only") |