Skip to content

Commit

Permalink
[macOS] Modify Audio related sandbox rule
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=251163
rdar://104604967

Reviewed by Brent Fulgham.

Modify Audio related sandbox rule in the GPU process on macOS to allow reading subpaths of Audio directory.

* Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:

Canonical link: https://commits.webkit.org/259643@main
  • Loading branch information
pvollan committed Jan 31, 2023
1 parent 62fde07 commit c070aff
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -917,9 +917,7 @@
(subpath "/private/tmp/AudioCapture")
(subpath "/tmp/AudioCapture"))
(allow file-read* (subpath "/usr/local/lib"))
(allow file-read-data (path "/AppleInternal/Library/Audio/CASuperBowl"))
)
)
(allow file-read-data (subpath "/AppleInternal/Library/Audio"))))

(deny mach-lookup (with no-report)
(global-name "com.apple.cmio.registerassistantservice.system-extensions"))
Expand Down

0 comments on commit c070aff

Please sign in to comment.