raw/SANDBOX/Collection/com.apple.WebKit.Networking.Development.md

com.apple.WebKit.Networking.Development

Group: ⬆️ Updated

+155−277
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 "AppleDatePreferencesChangedNotification")
11
12 (notification-name "AppleTemperatureUnitPreferencesChangedNotification")
13 (notification-name "AppleTextBehaviorPreferencesChangedNotification")
14 (notification-name "AppleTimePreferencesChangedNotification")
15− (notification-name "com.apple.CFNetwork*")
16 (notification-name "com.apple.CFPreferences._domainsChangedExternally")
17 (notification-name "com.apple.LaunchServices.database")
18 (notification-name "com.apple.WebKit.Cache.dump")
19
20 )
21)
22
23−(allow file-ioctl
24− (literal "/dev/dtracehelper")
25−)
26−
27(allow file-issue-extension
28 (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts")
29)
30
31)
32
33(deny file-map-executable)
34+(allow file-map-executable
35+ (with report)
36+ (system-attribute developer-mode)
37+)
38(allow file-map-executable
39 (require-any
40 (extension "com.apple.sandbox.executable")
41
42
43(allow file-read*
44 (require-all
45− (require-not (literal "/private/etc/group"))
46− (require-any
47− (extension "com.apple.app-sandbox.read")
48− (extension "com.apple.app-sandbox.read-write")
49− (literal "${HOME}/Library/Preferences/com.apple.CFNetwork.plist")
50− (literal "/private/etc/hosts")
51− (literal "/private/etc/passwd")
52− (literal "/private/etc/services")
53− (literal "/private/var/Managed Preferences/mobile/com.apple.SystemConfiguration.plist")
54− (literal "/private/var/Managed Preferences/mobile/com.apple.webcontentfilter.plist")
55− (literal "/private/var/db/com.apple.networkextension.*")
56− (literal "/private/var/preferences/com.apple.networkd.plist")
57− (literal "/private/var/preferences/com.apple.networkextension.uuidcache.plist")
58− (require-all
59− (%entitlement-is-bool-true "com.apple.private.networkextension.configuration")
60− (literal "/private/var/preferences/com.apple.networkextension.plist")
61− )
62− (require-any
63− (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo")
64− (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo")
65− (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo")
66− )
67− (subpath "/")
68− (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin")
69− )
70+ (literal "/private/var/preferences/com.apple.networkextension.plist")
71+ (%entitlement-is-bool-true "com.apple.private.networkextension.configuration")
72 )
73)
74(allow file-read*
75 (require-any
76+ (extension "com.apple.app-sandbox.read")
77+ (extension "com.apple.app-sandbox.read-write")
78 (extension "com.apple.sandbox.executable")
79 (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences.plist")
80 (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences_m.plist")
81− (literal "/dev/dtracehelper")
82+ (literal "${HOME}/Library/Preferences/com.apple.CFNetwork.plist")
83 (literal "/dev/urandom")
84+ (literal "/private/etc/hosts")
85+ (literal "/private/etc/passwd")
86+ (literal "/private/etc/services")
87 (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist")
88+ (literal "/private/var/Managed Preferences/mobile/com.apple.SystemConfiguration.plist")
89+ (literal "/private/var/Managed Preferences/mobile/com.apple.webcontentfilter.plist")
90 (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist")
91+ (literal "/private/var/db/com.apple.networkextension.*")
92+ (literal "/private/var/preferences/com.apple.networkd.plist")
93+ (literal "/private/var/preferences/com.apple.networkextension.uuidcache.plist")
94+ (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo")
95+ (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo")
96 (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts")
97+ (subpath "/")
98 (subpath "/Library/RegionFeatures")
99 (subpath "/System/Cryptexes/App")
100 (subpath "/System/Cryptexes/OS")
101
102 (subpath "/private/preboot/Cryptexes/App")
103 (subpath "/private/preboot/Cryptexes/OS")
104 (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_WebContentRestrictions")
105+ (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo")
106+ (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin")
107 (subpath "/private/var/db/timezone")
108 (subpath "/private/var/preferences/Logging")
109 (subpath "/usr/lib")
110
111
112(allow file-read-data
113 (require-all
114− (require-not (literal "/private/etc/group"))
115− (require-any
116− (extension "com.apple.app-sandbox.read")
117− (extension "com.apple.app-sandbox.read-write")
118− (literal "${HOME}/Library/Preferences/com.apple.CFNetwork.plist")
119− (literal "/private/etc/hosts")
120− (literal "/private/etc/passwd")
121− (literal "/private/etc/services")
122− (literal "/private/var/Managed Preferences/mobile/com.apple.SystemConfiguration.plist")
123− (literal "/private/var/Managed Preferences/mobile/com.apple.webcontentfilter.plist")
124− (literal "/private/var/db/com.apple.networkextension.*")
125− (literal "/private/var/preferences/com.apple.networkd.plist")
126− (literal "/private/var/preferences/com.apple.networkextension.uuidcache.plist")
127− (require-all
128− (%entitlement-is-bool-true "com.apple.private.networkextension.configuration")
129− (literal "/private/var/preferences/com.apple.networkextension.plist")
130− )
131− (require-any
132− (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo")
133− (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo")
134− (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo")
135− )
136− (subpath "/")
137− (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin")
138− )
139+ (literal "/private/var/preferences/com.apple.networkextension.plist")
140+ (%entitlement-is-bool-true "com.apple.private.networkextension.configuration")
141 )
142)
143(allow file-read-data
144 (require-any
145+ (extension "com.apple.app-sandbox.read")
146+ (extension "com.apple.app-sandbox.read-write")
147 (extension "com.apple.sandbox.executable")
148 (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences.plist")
149 (literal "${FRONT_USER_HOME}/Library/Preferences/.GlobalPreferences_m.plist")
150− (literal "/dev/dtracehelper")
151+ (literal "${HOME}/Library/Preferences/com.apple.CFNetwork.plist")
152 (literal "/dev/urandom")
153+ (literal "/private/etc/hosts")
154+ (literal "/private/etc/passwd")
155+ (literal "/private/etc/services")
156 (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist")
157+ (literal "/private/var/Managed Preferences/mobile/com.apple.SystemConfiguration.plist")
158+ (literal "/private/var/Managed Preferences/mobile/com.apple.webcontentfilter.plist")
159 (literal "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist")
160+ (literal "/private/var/db/com.apple.networkextension.*")
161+ (literal "/private/var/preferences/com.apple.networkd.plist")
162+ (literal "/private/var/preferences/com.apple.networkextension.uuidcache.plist")
163 (literal "/usr/local/lib/log")
164+ (subpath "${FRONT_USER_HOME}/Library/ConfigurationProfiles/PublicInfo")
165+ (subpath "${FRONT_USER_HOME}/Library/UserConfigurationProfiles/PublicInfo")
166 (subpath "${FRONT_USER_HOME}/XcodeBuiltProducts")
167+ (subpath "/")
168 (subpath "/Library/RegionFeatures")
169 (subpath "/System/Cryptexes/App")
170 (subpath "/System/Cryptexes/OS")
171
172 (subpath "/private/preboot/Cryptexes/App")
173 (subpath "/private/preboot/Cryptexes/OS")
174 (subpath "/private/var/MobileAsset/AssetsV2/com_apple_MobileAsset_WebContentRestrictions")
175+ (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/PublicInfo")
176+ (subpath "/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.nsurlstoragedresources/Library/dafsaData.bin")
177 (subpath "/private/var/db/timezone")
178 (subpath "/private/var/preferences/Logging")
179 (subpath "/usr/lib")
180
181 )
182)
183
184−(allow file-read-metadata
185− (require-all
186− (require-not (literal "${HOME}/Library/Caches/powerlog.launchd"))
187− (require-any
188− (literal "${HOME}")
189− (literal "${HOME}/Library/Preferences")
190− (require-not (literal "/private/var/run/syslog"))
191− (vnode-type SYMLINK)
192− )
193− )
194−)
195+(allow file-read-metadata)
196
197(allow file-write*
198 (extension "com.apple.app-sandbox.read-write")
199)
200
201−(allow file-write-create
202− (extension "com.apple.app-sandbox.read-write")
203−)
204−(deny file-write-create
205− (require-all
206− (extension "com.apple.app-sandbox.read-write")
207− (require-any
208− (literal "${HOME}/Library/Logs/CrashReporter/CFNetwork_*")
209− (vnode-type SYMLINK)
210− )
211− )
212−)
213−
214−(allow file-write-data
215− (require-any
216− (extension "com.apple.app-sandbox.read-write")
217− (literal "/dev/dtracehelper")
218− )
219−)
220−
221(deny fs-quota*)
222
223(deny fs-snapshot-mount)
224
225(deny iokit-get-properties)
226+(allow iokit-get-properties
227+ (with report)
228+ (system-attribute developer-mode)
229+)
230(allow iokit-get-properties
231 (iokit-property "IORegistryEntryPropertyKeys")
232)
233
234+(allow iokit-open-user-client
235+ (with report)
236+ (system-attribute developer-mode)
237+)
238(allow iokit-open-user-client
239 (iokit-registry-entry-class "AppleKeyStoreUserClient")
240)
241
242(deny iokit-open-service)
243+(allow iokit-open-service
244+ (with report)
245+ (system-attribute developer-mode)
246+)
247(allow iokit-open-service
248 (iokit-registry-entry-class "AppleKeyStore")
249)
250
251(deny mach-cross-domain-lookup)
252
253(allow mach-lookup
254− (require-all
255− (global-name "com.apple.imagent.EnhancedLinkSecurityStore")
256− (require-not (state-flag "BlockEnhancedSecurityLinks"))
257− )
258+ (with report)
259+ (system-attribute developer-mode)
260)
261(allow mach-lookup
262 (require-all
263− (require-not (global-name "com.apple.osanalytics.osanalyticshelper"))
264− (require-not (global-name "com.apple.hangtracerd"))
265− (require-not (global-name "com.apple.networkscored"))
266− (require-not (global-name "com.apple.analyticsd"))
267− (require-not (global-name "com.apple.aggregated"))
268− (require-not (xpc-service-name "*"))
269− (require-any
270− (global-name "com.apple.ProgressReporting")
271− (global-name "com.apple.containermanagerd")
272− (global-name "com.apple.containermanagerd.system")
273− (global-name "com.apple.ctcategories.service")
274− (global-name "com.apple.duetactivityscheduler")
275− (global-name "com.apple.logd")
276− (global-name "com.apple.logd.events")
277− (global-name "com.apple.lsd.mapdb")
278− (global-name "com.apple.mobileasset.autoasset")
279− (global-name "com.apple.nesessionmanager.content-filter")
280− (global-name "com.apple.passd.in-app-payment")
281− (global-name "com.apple.passd.library")
282− (global-name "com.apple.runningboard")
283− (global-name "com.apple.siri.context.service")
284− (global-name "com.apple.system.libinfo.muser")
285− (global-name "com.apple.system.notification_center")
286− (global-name "com.apple.tccd")
287− (global-name "com.apple.webprivacyd")
288− (require-any
289− (global-name "com.apple.WebPrivacy.Service")
290− (global-name "com.apple.ciphermld")
291− (global-name "com.apple.webkit.adattributiond.service")
292− (global-name "com.apple.webkit.webpushd.service")
293− )
294− )
295+ (global-name "com.apple.diagnosticd")
296+ (require-not (process-attribute is-apple-signed-executable))
297 )
298)
299(allow mach-lookup
300 (require-all
301− (global-name "com.apple.diagnosticd")
302− (require-any
303− (require-all
304− (require-not (xpc-service-name "*"))
305− (require-any
306− (global-name "com.apple.ProgressReporting")
307− (global-name "com.apple.containermanagerd")
308− (global-name "com.apple.containermanagerd.system")
309− (global-name "com.apple.ctcategories.service")
310− (global-name "com.apple.duetactivityscheduler")
311− (global-name "com.apple.logd")
312− (global-name "com.apple.logd.events")
313− (global-name "com.apple.lsd.mapdb")
314− (global-name "com.apple.mobileasset.autoasset")
315− (global-name "com.apple.nesessionmanager.content-filter")
316− (global-name "com.apple.passd.in-app-payment")
317− (global-name "com.apple.passd.library")
318− (global-name "com.apple.runningboard")
319− (global-name "com.apple.siri.context.service")
320− (global-name "com.apple.system.libinfo.muser")
321− (global-name "com.apple.system.notification_center")
322− (global-name "com.apple.tccd")
323− (global-name "com.apple.webprivacyd")
324− (require-any
325− (global-name "com.apple.WebPrivacy.Service")
326− (global-name "com.apple.ciphermld")
327− (global-name "com.apple.webkit.adattributiond.service")
328− (global-name "com.apple.webkit.webpushd.service")
329− )
330− )
331− )
332− (require-not (process-attribute is-apple-signed-executable))
333− )
334+ (global-name "com.apple.imagent.EnhancedLinkSecurityStore")
335+ (require-not (state-flag "BlockEnhancedSecurityLinks"))
336 )
337)
338(allow mach-lookup
339
340 (global-name "com.apple.AppSSO.service-xpc")
341 (global-name "com.apple.FileProvider")
342 (global-name "com.apple.GSSCred")
343+ (global-name "com.apple.ProgressReporting")
344 (global-name "com.apple.SystemConfiguration.NetworkInformation")
345 (global-name "com.apple.SystemConfiguration.configd")
346+ (global-name "com.apple.WebPrivacy.Service")
347 (global-name "com.apple.accountsd.accountmanager")
348 (global-name "com.apple.appstored.xpc")
349 (global-name "com.apple.appstored.xpc.request")
350 (global-name "com.apple.cfnetwork.AuthBrokerAgent")
351 (global-name "com.apple.cfnetwork.cfnetworkagent")
352+ (global-name "com.apple.ciphermld")
353+ (global-name "com.apple.containermanagerd")
354+ (global-name "com.apple.containermanagerd.system")
355+ (global-name "com.apple.ctcategories.service")
356 (global-name "com.apple.dnssd.service")
357+ (global-name "com.apple.duetactivityscheduler")
358+ (global-name "com.apple.logd")
359+ (global-name "com.apple.logd.events")
360+ (global-name "com.apple.lsd.mapdb")
361+ (global-name "com.apple.mobileasset.autoasset")
362 (global-name "com.apple.nehelper")
363 (global-name "com.apple.nesessionmanager")
364+ (global-name "com.apple.nesessionmanager.content-filter")
365 (global-name "com.apple.networkserviceproxy.fetch-token")
366+ (global-name "com.apple.passd.in-app-payment")
367+ (global-name "com.apple.passd.library")
368+ (global-name "com.apple.runningboard")
369+ (global-name "com.apple.siri.context.service")
370 (global-name "com.apple.symptoms.symptomsd.managed_events")
371+ (global-name "com.apple.system.libinfo.muser")
372+ (global-name "com.apple.system.notification_center")
373+ (global-name "com.apple.tccd")
374 (global-name "com.apple.trustd")
375 (global-name "com.apple.usymptomsd")
376+ (global-name "com.apple.webkit.adattributiond.service")
377+ (global-name "com.apple.webkit.webpushd.service")
378+ (global-name "com.apple.webprivacyd")
379 (xpc-service-name "com.apple.BrowserEngineKit.Intermediary")
380 )
381)
382
383)
384
385(allow network-outbound
386− (control-name "com.apple.flow-divert")
387−)
388−(allow network-outbound
389− (require-all
390− (require-not (remote tcp "localhost:62078"))
391− (require-any
392− (control-name "com.apple.netsrc")
393− (literal "/private/var/run/mDNSResponder")
394− (local tcp "*:*")
395− (local udp "*:*")
396− (remote tcp "*:*")
397− (remote tcp "*:*")
398− (remote udp "*:*")
399− (remote udp "*:*")
400− (require-all
401− (state-flag "BlockNetworkAccess")
402− (local tcp "*:*")
403− (require-not (remote udp "*:*"))
404− (require-not (remote tcp "*:*"))
405− (require-not (literal "/private/var/run/mDNSResponder"))
406− )
407− )
408+ (require-any
409+ (control-name "com.apple.flow-divert")
410+ (control-name "com.apple.netsrc")
411+ (literal "/private/var/run/mDNSResponder")
412+ (local tcp "*:*")
413+ (local udp "*:*")
414+ (remote tcp "*:*")
415+ (remote udp "*:*")
416 )
417)
418
419(deny nvram*)
420
421(deny process-info*)
422+(allow process-info*
423+ (with report)
424+ (system-attribute developer-mode)
425+)
426
427(deny process-info-codesignature)
428+(allow process-info-codesignature
429+ (with report)
430+ (system-attribute developer-mode)
431+)
432(allow process-info-codesignature
433 (require-any
434 (%entitlement-is-bool-true "com.apple.security.exception.process-info")
435
436)
437
438(deny process-info-dirtycontrol)
439+(allow process-info-dirtycontrol
440+ (with report)
441+ (system-attribute developer-mode)
442+)
443(allow process-info-dirtycontrol
444 (target self)
445)
446
447−(allow process-info-pidinfo)
448−
449(deny process-info-pidfdinfo)
450+(allow process-info-pidfdinfo
451+ (with report)
452+ (system-attribute developer-mode)
453+)
454(allow process-info-pidfdinfo
455 (require-any
456 (%entitlement-is-bool-true "com.apple.security.exception.process-info")
457
458)
459
460(deny process-info-pidfileportinfo)
461+(allow process-info-pidfileportinfo
462+ (with report)
463+ (system-attribute developer-mode)
464+)
465(allow process-info-pidfileportinfo
466 (require-any
467 (%entitlement-is-bool-true "com.apple.security.exception.process-info")
468
469)
470
471(deny process-info-rusage)
472+(allow process-info-rusage
473+ (with report)
474+ (system-attribute developer-mode)
475+)
476(allow process-info-rusage
477 (require-any
478 (%entitlement-is-bool-true "com.apple.security.exception.process-info")
479
480 )
481)
482
483−(allow process-info-sandbox-container)
484−
485(deny process-info-setcontrol)
486+(allow process-info-setcontrol
487+ (with report)
488+ (system-attribute developer-mode)
489+)
490(allow process-info-setcontrol
491 (target self)
492)
493
494 (target self)
495)
496
497−(deny socket-option-get)
498(allow socket-option-get
499 (with report)
500)
501−(allow socket-option-get
502− (require-all
503− (socket-option-level IPPROTO_IP)
504− (socket-option-name 25)
505− )
506−)
507−(allow socket-option-get
508− (require-all
509− (socket-option-level IPPROTO_IPV6)
510− (socket-option-name 125)
511− )
512−)
513−(allow socket-option-get
514− (require-all
515− (socket-option-level IPPROTO_TCP)
516− (require-any
517− (socket-option-name (_IO "" 6))
518− (socket-option-name SO_REUSEPORT)
519− )
520− )
521−)
522−(allow socket-option-get
523− (socket-option-name SO_NREAD SO_SNDBUF)
524−)
525
526−(deny socket-option-set)
527(allow socket-option-set
528 (with report)
529)
530−(allow socket-option-set
531− (require-all
532− (socket-option-level IPPROTO_IPV6)
533− (socket-option-name 27 35 36 61 62)
534− )
535−)
536−(allow socket-option-set
537− (require-all
538− (socket-option-level SOL_SOCKET)
539− (require-any
540− (socket-option-name 0)
541− (socket-option-name SO_DELEGATED)
542− (socket-option-name SO_MARK_KNOWN_TRACKER)
543− (socket-option-name SO_MARK_KNOWN_TRACKER_NON_APP_INITIATED)
544− (socket-option-name SO_NECP_ATTRIBUTES)
545− (socket-option-name SO_NECP_CLIENTUUID)
546− (socket-option-name SO_NECP_LISTENUUID)
547− (socket-option-name SO_NOSIGPIPE)
548− (socket-option-name SO_RCVBUF)
549− (socket-option-name SO_REUSEADDR)
550− (socket-option-name SO_REUSEPORT)
551− (socket-option-name SO_TIMESTAMP)
552− )
553− )
554−)
555−(allow socket-option-set
556− (require-all
557− (socket-option-level IPPROTO_TCP)
558− (socket-option-name (_IO "" 1))
559− )
560−)
561−(allow socket-option-set
562− (socket-option-name 7 20 27)
563−)
564
565(deny syscall-unix)
566+(allow syscall-unix
567+ (with report)
568+ (system-attribute developer-mode)
569+)
570(allow syscall-unix
571 (syscall-number
572 SYS_exit
573
574 SYS_sysctl
575 SYS_getumask
576 SYS_open_dprotected_np
577− SYS_openat_dprotected_np
578 SYS_getattrlist
579 SYS_getxattr
580 SYS_setxattr
581
582 SYS_fsctl
583 SYS_ffsctl
584 SYS_shm_open
585− SYS_shm_unlink
586 SYS_sem_open
587 SYS_sem_close
588 SYS_sysctlbyname
589
590 SYS_clonefileat
591 SYS_openat
592 SYS_openat_nocancel
593− SYS_renameat
594 SYS_faccessat
595 SYS_fchmodat
596 SYS_fchownat
597
598 SYS_proc_info_extended_id
599 SYS_map_with_linking_np)
600)
601−(deny syscall-unix
602− (with no-report)
603− (require-all
604− (require-not (syscall-number SYS___nexus_set_opt))
605− (syscall-number SYS_crossarch_trap)
606− )
607−)
608−(deny syscall-unix
609− (require-all
610− (require-not (syscall-number SYS___nexus_set_opt))
611− (syscall-number SYS_crossarch_trap)
612− )
613−)
614
615(deny syscall-mach)
616+(allow syscall-mach
617+ (with report)
618+ (system-attribute developer-mode)
619+)
620(allow syscall-mach
621 (machtrap-number
622 MSC__kernelrpc_mach_vm_allocate_trap
623
624)
625
626(deny syscall-mig)
627+(allow syscall-mig
628+ (with report)
629+ (system-attribute developer-mode)
630+)
631(allow syscall-mig
632 (kernel-mig-routine
633 host_info
634
635 (extension "com.apple.security.exception.sysctl.read-write")
636)
637
638+(allow sysctl-read
639+ (with report)
640+ (system-attribute developer-mode)
641+)
642(allow sysctl-read
643 (require-all
644+ (%entitlement-is-bool-true "com.apple.security.exception.process-info")
645 (require-any
646 (sysctl-name "kern.proc.*")
647 (sysctl-name "kern.procargs2.*")
648 )
649− (%entitlement-is-bool-true "com.apple.security.exception.process-info")
650 )
651)
652(allow sysctl-read
653
654(allow system-audit)
655
656(deny system-fcntl)
657+(allow system-fcntl
658+ (with report)
659+ (system-attribute developer-mode)
660+)
661(allow system-fcntl
662 (fcntl-command
663 F_GETFD
664
665 F_CHECK_LV)
666)
667
668−(deny system-info
669− (with no-report)
670− (info-type "net.link.addr")
671−)
672−(deny system-info)
673−
674(deny system-mac-syscall)
675−(with-filter (mac-policy-name "Sandbox")
676− (allow system-mac-syscall
677− (mac-syscall-number 5 65)
678− )
679+(allow system-mac-syscall
680+ (with report)
681+ (system-attribute developer-mode)
682)
683−(with-filter (mac-policy-name "AMFI")
684+(with-filter (mac-policy-name "Sandbox")
685 (allow system-mac-syscall
686− (mac-syscall-number 102 90)
687+ (mac-syscall-number 5)
688 )
689)
690(with-filter (mac-policy-name "vnguard")
691
692 (mac-syscall-number 1)
693 )
694)
695−(with-filter (mac-policy-name "Sandbox")
696− (allow system-mac-syscall
697− (mac-syscall-number 2 4 6 7 67)
698− )
699−)
700
701(deny system-privilege)
702(allow system-privilege
703
704 )
705)
706
707+(allow user-preference-read
708+ (with report)
709+ (system-attribute developer-mode)
710+)
711(allow user-preference-read
712 (require-any
713 (extension "com.apple.security.exception.shared-preference.read-only")
714
715 )
716)
717
718+(allow managed-preference-read
719+ (with report)
720+ (system-attribute developer-mode)
721+)
722(allow managed-preference-read
723 (require-any
724 (extension "com.apple.security.exception.managed-preference.read-only")