1; Copyright (C) 2013, 2014 Apple Inc. All rights reserved. 2; 3; Redistribution and use in source and binary forms, with or without 4; modification, are permitted provided that the following conditions 5; are met: 6; 1. Redistributions of source code must retain the above copyright 7; notice, this list of conditions and the following disclaimer. 8; 2. Redistributions in binary form must reproduce the above copyright 9; notice, this list of conditions and the following disclaimer in the 10; documentation and/or other materials provided with the distribution. 11; 12; THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' 13; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 14; THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 15; PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS 16; BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 17; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 18; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 19; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 20; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 22; THE POSSIBILITY OF SUCH DAMAGE. 23 24(allow mach-lookup 25 (global-name "com.apple.ist.ds.appleconnect2.service.admin") 26 (global-name "com.apple.ist.ds.appleconnect2.service.agent") 27 (global-name "com.apple.ist.ds.appleconnect2.service.kdctunnelcontroller") 28 (global-name "com.apple.ist.ds.appleconnect2.service.menuextra") 29 (global-name "com.apple.wifi.anqp") 30 (global-name "com.apple.GSSCred") 31 (global-name "org.h5l.kcm")) 32(allow mach-lookup 33 (global-name-regex #"^com\.apple\.ist\.ds\.appleconnect2\.service\.com\.apple\.WebKit\.Plugin\.(32|64|Development)\[[0-9]+\]$") 34 (global-name-regex #"^com\.apple\.ist\.ds\.appleconnect2\.service\.PluginProcess\[[0-9]+\]$")) 35 36(shared-preferences-read 37 "com.apple.GSS" 38 "com.apple.ist.ds.appleconnect2" 39 "com.apple.ist.ds.appleconnect2.acceptanceTest" 40 "com.apple.ist.ds.appleconnect2.production" 41 "com.apple.ist.ds.appleconnect2.uat" 42 "com.apple.Kerberos" 43 "com.apple.networkConnect" 44 "edu.mit.Kerberos") 45 46(allow file-read* 47 (subpath "/Library/KerberosPlugins/GSSAPI") 48 (subpath "/Library/KerberosPlugins/KerberosFrameworkPlugins") 49 (literal "/Library/Preferences/edu.mit.Kerberos") 50 (literal "/Library/Preferences/SystemConfiguration/preferences.plist") 51 (home-library-preferences-literal "/edu.mit.Kerberos")) 52 53(allow file-read* 54 (literal "/private/etc/services")) 55 56(if (defined? 'mach-register) 57 (allow mach-register 58 (global-name-regex #"^com\.apple\.ist\.ds\.appleconnect2\.service\.com\.apple\.WebKit\.Plugin\.(32|64|Development)\[[0-9]+\]$") 59 (global-name-regex #"^com\.apple\.ist\.ds\.appleconnect2\.service\.PluginProcess\[[0-9]+\]$"))) 60 61(allow system-socket) 62(allow network-outbound 63 (remote udp "*:4160" "*:88")) 64(allow network-inbound 65 (local udp)) 66