7 (allow file-read* file-write*
8 (subpath "/private/var/db/mds")
9 (regex #"^/private/var/folders/[^/]+/[^/]+/T(/|$)")
10 (regex (string-append "^" (regex-quote (param "_HOME")) #"/Library/Keychains(/|$)")))
13 (literal (string-append (param "_HOME") "/Library/Preferences/com.apple.imessage.bag.plist"))
14 (literal (string-append (param "_HOME") "/Library/Preferences/com.apple.facetime.bag.plist")))
17 ;;;;;; will be fully fixed in 29465717
18 (allow file-read* (subpath "/"))
20 (allow user-preference-read
21 (preference-domain ".GlobalPreferences"))
22 (allow user-preference-read
23 (preference-domain "com.apple.security"))
24 (allow user-preference-read
25 (preference-domain "com.apple.imessage.bag"))
26 (allow user-preference-read
27 (preference-domain "com.apple.facetime.bag"))
28 (allow user-preference-read user-preference-write
29 (preference-domain "com.apple.security.sosaccount"))
31 (allow distributed-notification-post)
34 (iokit-user-client-class "AppleKeyStoreUserClient")
35 (iokit-user-client-class "AppleAPFSUserClient")
36 (iokit-user-client-class "RootDomainUserClient"))
40 (literal "/usr/libexec/secd")
41 (literal "/Library/Preferences/com.apple.security.plist")
42 (literal "/Library/Preferences/.GlobalPreferences.plist")
43 (literal "/AppleInternal")
44 (literal "/usr/libexec"))
47 (global-name "com.apple.system.opendirectoryd.api")
48 (global-name "com.apple.SystemConfiguration.configd")
49 (global-name "com.apple.security.cloudkeychainproxy3")
50 (global-name "com.apple.accountsd.accountmanager")
51 (global-name "com.apple.CoreServices.coreservicesd")
52 (global-name "com.apple.distributed_notifications@Uv3")
53 (global-name "com.apple.ak.auth.xpc")
54 (global-name "com.apple.cdp.daemon")
55 (global-name "com.apple.cloudd")
56 (global-name "com.apple.apsd")
57 (global-name "com.apple.analyticsd")
58 (global-name "com.apple.symptom_diagnostics")
59 (global-name "com.apple.ak.anisette.xpc")
60 (global-name "com.apple.corefollowup.agent")
61 (global-name "com.apple.windowserver.active")
62 (global-name "com.apple.powerlog.plxpclogger.xpc")
63 (global-name "com.apple.SecureBackupDaemon")
66 ;; Used to send logs for MoiC.
68 (global-name "com.apple.imagent.desktop.auth"))
70 (allow iokit-get-properties (iokit-registry-entry-class "IOPlatformExpertDevice"))
73 (ipc-posix-name "com.apple.AppleDatabaseChanged"))
75 (allow network-outbound)
78 ;; to be deleted once SecTrustEvaluate and SecTrustCopyKey can avoid touching legacy cert and keychain stack
79 (allow file-read* file-write*
80 (regex #"^/private/var/folders/[^/]+/[^/]+/C/mds/mdsDirectory\.db$")
81 (regex #"^/private/var/folders/[^/]+/[^/]+/C/mds/mdsObject\.db$")
82 (regex #"^/private/var/folders/[^/]+/[^/]+/C/mds/mds\.lock$"))
84 (global-name "com.apple.SecurityServer"))
86 (allow system-fsctl (fsctl-command afpfsByteRangeLock2FSCTL))