1 ;; OriginatingProject: ipsec
7 (allow system-socket sysctl-read sysctl-write)
9 (allow ipc-posix* (ipc-posix-name "com.apple.securityd"))
11 (ipc-posix-name "apple.shm.notification_center")
12 (ipc-posix-name "com.apple.AppleDatabaseChanged"))
14 (allow file-read* file-ioctl
15 (subpath "/private/etc/master.passwd")
16 (subpath "/private/var/run/racoon")
17 (literal "/private/var/preferences/SystemConfiguration/com.apple.ipsec.plist")
18 (subpath "/private/etc/racoon"))
21 (subpath "/Library/Managed\ Preferences")
22 (subpath "/Library/Preferences")
23 (subpath "/private/var/root")
24 (literal "/private/var/db/mds/messages/se_SecurityMessages"))
27 (literal "/private/var/run/racoon.sock")
28 (literal "/private/var/run/racoon.pid"))
31 (literal "/var/log/racoon.log")
32 (literal "/private/var/log/racoon.log"))
34 (allow iokit-open (iokit-user-client-class "RootDomainUserClient"))
36 (allow network-outbound (subpath "/private/var/tmp/launchd"))
38 (local udp "*:500" "*:4500")
40 (literal "/private/var/run/racoon.sock"))
43 (literal "/Library/Keychains/System.keychain")
44 (literal "/private/var/db/mds/system/mdsObject.db")
45 (literal "/private/var/db/mds/system/mds.lock")
46 (literal "/private/var/db/mds/system/mdsDirectory.db"))
49 (global-name "com.apple.SecurityServer")
50 (global-name "com.apple.ocspd"))
52 ;;;;;; Common system sandbox rules
54 ;;;;;; Copyright (c) 2008-2010 Apple Inc. All Rights reserved.
56 ;;;;;; WARNING: The sandbox rules in this file currently constitute
57 ;;;;;; Apple System Private Interface and are subject to change at any time and
58 ;;;;;; without notice. The contents of this file are also auto-generated and
59 ;;;;;; not user editable; it may be overwritten at any time.
61 ;;; Allow read access to standard system paths.
64 (require-all (file-mode #o0004)
65 (require-any (subpath "/System")
68 (subpath "/usr/share"))))
70 (allow file-read-metadata
75 ;;; Allow access to standard special files.
78 (literal "/private/var/db/timezone/localtime")
79 (literal "/dev/random")
80 (literal "/dev/urandom"))
85 (literal "/dev/zero"))
90 (literal "/dev/aes_0")
91 (literal "/dev/sha1_0")
92 (literal "/dev/dtracehelper"))
94 (allow network-outbound
95 (literal "/private/var/run/asl_input")
96 (literal "/private/var/run/syslog"))
98 ;;; Allow IPC to standard system agents.
101 (global-name "com.apple.securityd")
102 (global-name "com.apple.bsd.dirhelper")
103 (global-name "com.apple.system.logger")
104 (global-name "com.apple.system.notification_center"))