X-Git-Url: https://git.saurik.com/apple/mdnsresponder.git/blobdiff_plain/5a93c909adae773031140edbb2fdf163cef66021..672757b60c624961fea11e4a8daff622e0908058:/mDNSMacOSX/mDNSResponder.sb diff --git a/mDNSMacOSX/mDNSResponder.sb b/mDNSMacOSX/mDNSResponder.sb index 807217a..2918631 100644 --- a/mDNSMacOSX/mDNSResponder.sb +++ b/mDNSMacOSX/mDNSResponder.sb @@ -1,6 +1,6 @@ ; -*- Mode: Scheme; tab-width: 4 -*- ; -; Copyright (c) 2012-2015 Apple Inc. All rights reserved. +; Copyright (c) 2012-2018 Apple Inc. All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: @@ -45,6 +45,7 @@ ; Mach communications ; These are needed for things like getpwnam, hostname changes, & keychain (allow mach-lookup + (global-name "com.apple.analyticsd") (global-name "com.apple.awdd") (global-name "com.apple.bsd.dirhelper") (global-name "com.apple.CoreServices.coreservicesd") @@ -66,15 +67,18 @@ (global-name "com.apple.usymptomsd") (global-name "com.apple.webcontentfilter.dns") (global-name "com.apple.server.bluetooth") + (global-name "com.apple.server.bluetooth.le.att.xpc") (global-name "com.apple.awacs") (global-name "com.apple.networkd") (global-name "com.apple.securityd") (global-name "com.apple.wifi.manager") + ; "com.apple.blued" is the name used in pre Lobo builds, + ; leave it in place while still running roots on pre Lobo targets (global-name "com.apple.blued") + (global-name "com.apple.bluetoothd") (global-name "com.apple.mobilegestalt.xpc") - (global-name "com.apple.snhelper") - (global-name "com.apple.nehelper") - (global-name "com.apple.networkserviceproxy")) + (global-name "com.apple.ReportCrash.SimulateCrash") + (global-name "com.apple.snhelper")) (allow mach-register (global-name "com.apple.d2d.ipc")) @@ -100,6 +104,13 @@ ; Our socket (allow file-read* file-write* (literal "/private/var/run/mDNSResponder")) +; BPF control for sleep proxy server +(allow file-ioctl (prefix "/dev/bpf")) + +; Used by CoreCrypto AES routines. +(allow file-read* file-write-data file-ioctl + (literal "/dev/aes_0")) + ; System version, settings, and other miscellaneous necessary file system accesses (allow file-read-data ; Needed for CFCopyVersionDictionary() @@ -117,6 +128,8 @@ (literal "/private/var/preferences/SystemConfiguration/preferences.plist") (subpath "/System/Library/Preferences/Logging") (subpath "/AppleInternal/Library/Preferences/Logging") + (subpath "/private/var/preferences/Logging") + (subpath "/private/var/db/timezone") (subpath "/Library/Preferences/Logging")) @@ -156,3 +169,9 @@ (iokit-user-client-class "wlDNSOffloadUserClient") (iokit-user-client-class "RootDomainUserClient") (iokit-user-client-class "AppleMobileFileIntegrityUserClient")))) + +; Internal builds only +(with-filter (system-attribute apple-internal) + (allow sysctl-read sysctl-write + (sysctl-name "vm.footprint_suspend"))) ; dyld performance reporting +