blob: f00e92668ee68a72c7fb19f78ff8ec42a17b002a [file] [log] [blame]
; Copyright 2018 The Chromium Authors. All rights reserved.
; Use of this source code is governed by a BSD-style license that can be
; found in the LICENSE file.
; --- The contents of implicitly included here. ---
; File access.
(allow file-read*
(path (user-homedir-path "/Library/Caches/"))
(regex (user-homedir-path #"/Library/Preferences/*"))
(subpath (user-homedir-path "/Library/Audio/Plug-Ins"))
(subpath "/Library/Audio/Plug-Ins")
(subpath "/Library/QuickTime")
(subpath "/System/Library/Components")
(subpath "/System/Library/Extensions"))
(allow device-microphone)
(allow iokit-open
(iokit-user-client-class "IOAudioControlUserClient")
(iokit-user-client-class "IOAudioEngineUserClient"))
(allow ipc-posix-shm-read* ipc-posix-shm-write-data
(ipc-posix-name-regex #"^AudioIO"))
; Mach IPC.
(allow mach-lookup
(global-name "")
(global-name "")
(global-name "")
(global-name ""))
(if (>= os-version 1013)
(allow mach-lookup
(global-name "")
(xpc-service-name "")))
; sysctls.
(allow sysctl-read
(sysctl-name "hw.optional.avx2_0")
(sysctl-name "hw.optional.avx1_0")
(sysctl-name "hw.optional.sse4_2")
(sysctl-name "hw.optional.sse4_1")
(sysctl-name "hw.optional.sse3")
(sysctl-name "hw.optional.sse2"))