platform
Group: ⬆️ Updated
+75−45
| 1 | (file-attribute sip-protected) | |
| 2 | ) | |
| 3 | ||
| 4 | + | (allow file-lock |
| 5 | + | (require-not (storage-class "xprotectdb")) |
| 6 | + | ) |
| 7 | + | |
| 8 | (allow file-map-executable | |
| 9 | (require-not (storage-class "OOPJIT")) | |
| 10 | ) | |
| 11 | ||
| 12 | (_g35 "") | |
| 13 | )) | |
| 14 | (define (_g37 _) | |
| 15 | + | (require-any |
| 16 | + | (_g36 "") |
| 17 | + | (require-all |
| 18 | + | (%entitlement-is-bool-true "com.apple.private.security.storage.xprotectdb") |
| 19 | + | (process-attribute is-sandcastle-constrained) |
| 20 | + | (require-not (%entitlement-is-bool-true "com.apple.private.security.scoped-bookmark-key")) |
| 21 | + | (_g35 "") |
| 22 | + | ) |
| 23 | + | (require-all |
| 24 | + | (process-attribute is-datavault-controller) |
| 25 | + | (process-attribute is-sandcastle-constrained) |
| 26 | + | (require-not (%entitlement-is-bool-true "com.apple.private.security.scoped-bookmark-key")) |
| 27 | + | (_g35 "") |
| 28 | + | ) |
| 29 | + | (require-all |
| 30 | + | (process-attribute is-initproc) |
| 31 | + | (%entitlement-is-bool-true "com.apple.private.security.storage.preferences") |
| 32 | + | (require-not (require-any |
| 33 | + | (literal "${any_user_home}/library/group containers/${any_path_component}/library/preferences") |
| 34 | + | (subpath "/volumes/${any_uuid}/library/group containers/${any_path_component}/library/preferences${any_user_home}/library/preferences") |
| 35 | + | )) |
| 36 | + | (%entitlement-is-bool-true "com.apple.private.security.storage.containers") |
| 37 | + | (require-not (require-any |
| 38 | + | (subpath "${any_user_home}/library//volumes/${any_uuid}/library/containers") |
| 39 | + | (subpath "${any_user_home}/library/containers") |
| 40 | + | (subpath "${any_user_home}/library/daemon containers") |
| 41 | + | (subpath "${any_user_home}/library/group containers") |
| 42 | + | (subpath "${any_user_home}/library/group containers/volumes/${any_uuid}/library/containers") |
| 43 | + | (subpath "${any_user_home}/volumes/${any_uuid}/library/containers") |
| 44 | + | (subpath "/volumes/${any_uuid}/library/containers") |
| 45 | + | (subpath "/volumes/${any_uuid}/library/daemon containers") |
| 46 | + | (subpath "/volumes/${any_uuid}/library/group containers") |
| 47 | + | )) |
| 48 | + | (process-attribute is-sandcastle-constrained) |
| 49 | + | (_g33 "") |
| 50 | + | ) |
| 51 | + | (require-all |
| 52 | + | (process-attribute is-installer) |
| 53 | + | (process-attribute is-sandcastle-constrained) |
| 54 | + | (require-not (%entitlement-is-bool-true "com.apple.private.security.scoped-bookmark-key")) |
| 55 | + | (_g35 "") |
| 56 | + | ) |
| 57 | + | (require-not (%entitlement-is-bool-true "com.apple.private.security.storage.xprotect")) |
| 58 | + | )) |
| 59 | + | (define (_g38 _) |
| 60 | (require-all | |
| 61 | (storage-class "KernelExtensionStaging") | |
| 62 | (require-any | |
| 63 | ||
| 64 | (require-not (%entitlement-is-bool-true "com.apple.rootless.storage.KernelExtensionStaging")) | |
| 65 | ) | |
| 66 | )) | |
| 67 | − | (define (_g38 _) |
| 68 | + | (define (_g39 _) |
| 69 | (require-all | |
| 70 | (storage-class "kTCCServiceSystemPolicyNetworkVolumes") | |
| 71 | (require-any | |
| 72 | ||
| 73 | (require-not (require-ancestor-with-entitlement "com.apple.private.security.storage.network.heritable")) | |
| 74 | ) | |
| 75 | )) | |
| 76 | − | (define (_g39 _) |
| 77 | + | (define (_g40 _) |
| 78 | (require-all | |
| 79 | (%entitlement-is-bool-true "com.apple.rootless.storage.folders") | |
| 80 | (require-not (subpath "/private/var/folders")) | |
| 81 | (require-not (storage-class-extension #f)) | |
| 82 | (_g19 "") | |
| 83 | )) | |
| 84 | − | (define (_g40 _) |
| 85 | + | (define (_g41 _) |
| 86 | (require-any | |
| 87 | − | (_g39 "") |
| 88 | + | (_g40 "") |
| 89 | (require-all | |
| 90 | (process-attribute is-sandcastle-constrained) | |
| 91 | (require-any | |
| 92 | ||
| 93 | ) | |
| 94 | ) | |
| 95 | )) | |
| 96 | − | (define (_g41 _) |
| 97 | + | (define (_g42 _) |
| 98 | (require-all | |
| 99 | (require-not (process-attribute is-sandcastle-constrained)) | |
| 100 | (storage-class "Autosave") | |
| 101 | − | (_g40 "") |
| 102 | + | (_g41 "") |
| 103 | )) | |
| 104 | − | (define (_g42 _) |
| 105 | + | (define (_g43 _) |
| 106 | (require-all | |
| 107 | (require-not (process-attribute is-sandcastle-constrained)) | |
| 108 | (storage-class "kTCCServiceMediaLibrary") | |
| 109 | ||
| 110 | (require-not (storage-class-extension #f)) | |
| 111 | (_g19 "") | |
| 112 | )) | |
| 113 | − | (define (_g43 _) |
| 114 | + | (define (_g44 _) |
| 115 | (require-any | |
| 116 | (file-attribute datavault) | |
| 117 | (require-all | |
| 118 | ||
| 119 | (require-all | |
| 120 | (%entitlement-is-bool-true "com.apple.private.security.storage.xprotect") | |
| 121 | (require-any | |
| 122 | − | (_g37 "") |
| 123 | + | (_g38 "") |
| 124 | (require-all | |
| 125 | (storage-class "xprotectdb") | |
| 126 | − | (require-any |
| 127 | − | (_g36 "") |
| 128 | − | (require-all |
| 129 | − | (process-attribute is-initproc) |
| 130 | − | (%entitlement-is-bool-true "com.apple.private.security.storage.preferences") |
| 131 | − | (require-not (require-any |
| 132 | − | (literal "${any_user_home}/library/group containers/${any_path_component}/library/preferences") |
| 133 | − | (subpath "/volumes/${any_uuid}/library/group containers/${any_path_component}/library/preferences${any_user_home}/library/preferences") |
| 134 | − | )) |
| 135 | − | (%entitlement-is-bool-true "com.apple.private.security.storage.containers") |
| 136 | − | (require-not (require-any |
| 137 | − | (subpath "${any_user_home}/library//volumes/${any_uuid}/library/containers") |
| 138 | − | (subpath "${any_user_home}/library/containers") |
| 139 | − | (subpath "${any_user_home}/library/daemon containers") |
| 140 | − | (subpath "${any_user_home}/library/group containers") |
| 141 | − | (subpath "${any_user_home}/library/group containers/volumes/${any_uuid}/library/containers") |
| 142 | − | (subpath "${any_user_home}/volumes/${any_uuid}/library/containers") |
| 143 | − | (subpath "/volumes/${any_uuid}/library/containers") |
| 144 | − | (subpath "/volumes/${any_uuid}/library/daemon containers") |
| 145 | − | (subpath "/volumes/${any_uuid}/library/group containers") |
| 146 | − | )) |
| 147 | − | (process-attribute is-sandcastle-constrained) |
| 148 | − | (_g33 "") |
| 149 | − | ) |
| 150 | − | ) |
| 151 | + | (_g37 "") |
| 152 | ) | |
| 153 | ) | |
| 154 | ) | |
| 155 | + | (require-all |
| 156 | + | (%entitlement-is-bool-true "com.apple.private.security.storage.xprotectdb") |
| 157 | + | (storage-class "xprotectdb") |
| 158 | + | (_g37 "") |
| 159 | + | ) |
| 160 | (require-all | |
| 161 | (require-not (storage-class "xprotectdb")) | |
| 162 | (require-any | |
| 163 | ||
| 164 | (_g32 "") | |
| 165 | (_g34 "") | |
| 166 | (_g36 "") | |
| 167 | − | (_g37 "") |
| 168 | − | (_g39 "") |
| 169 | + | (_g38 "") |
| 170 | + | (_g40 "") |
| 171 | (require-all | |
| 172 | (%entitlement-is-bool-true "com.apple.private.security.storage.containers") | |
| 173 | (require-not (require-any | |
| 174 | ||
| 175 | (process-attribute is-sandcastle-constrained) | |
| 176 | (require-any | |
| 177 | (_g27 "") | |
| 178 | − | (_g38 "") |
| 179 | + | (_g39 "") |
| 180 | (require-all | |
| 181 | (process-attribute is-platform-binary) | |
| 182 | (require-any | |
| 183 | − | (_g38 "") |
| 184 | + | (_g39 "") |
| 185 | (require-all | |
| 186 | (signing-identifier "com.apple.opendirectoryd") | |
| 187 | (%entitlement-is-bool-true "com.apple.private.security.storage.FileProvider") | |
| 188 | ||
| 189 | (require-all | |
| 190 | (storage-class "AppProtection") | |
| 191 | (require-any | |
| 192 | − | (_g41 "") |
| 193 | + | (_g42 "") |
| 194 | (require-all | |
| 195 | (process-attribute is-platform-binary) | |
| 196 | (require-any | |
| 197 | − | (_g41 "") |
| 198 | + | (_g42 "") |
| 199 | (require-all | |
| 200 | (signing-identifier "com.apple.Safari.BrowserDataImportingService") | |
| 201 | (%entitlement-is-bool-true "com.apple.rootless.storage.folders") | |
| 202 | ||
| 203 | ) | |
| 204 | (require-all | |
| 205 | (storage-class "Autosave") | |
| 206 | − | (_g40 "") |
| 207 | + | (_g41 "") |
| 208 | ) | |
| 209 | (require-all | |
| 210 | (storage-class "ConfigurationProfilesPrivate") | |
| 211 | ||
| 212 | (require-all | |
| 213 | (storage-class "kTCCServiceMediaLibrary-iMovie") | |
| 214 | (require-any | |
| 215 | − | (_g42 "") |
| 216 | + | (_g43 "") |
| 217 | (require-all | |
| 218 | (process-attribute is-platform-binary) | |
| 219 | (require-any | |
| 220 | − | (_g42 "") |
| 221 | + | (_g43 "") |
| 222 | (require-all | |
| 223 | (signing-identifier "com.apple.iMovieApp") | |
| 224 | (%entitlement-is-bool-true "com.apple.rootless.storage.folders") | |
| 225 | ||
| 226 | (require-any | |
| 227 | (require-all | |
| 228 | (require-not (storage-class-extension #f)) | |
| 229 | − | (_g43 "") |
| 230 | + | (_g44 "") |
| 231 | ) | |
| 232 | (require-all | |
| 233 | (vnode-type DIRECTORY) | |
| 234 | (require-not (%entitlement-is-bool-true "com.apple.rootless.datavault.metadata")) | |
| 235 | (require-not (storage-class-extension #f)) | |
| 236 | − | (_g43 "") |
| 237 | + | (_g44 "") |
| 238 | ) | |
| 239 | ) | |
| 240 | ) |