Closed
Bug 1401756
Opened 7 years ago
Closed 7 years ago
[Mac] Remove unneeded mach-lookups from plugin sandbox rules
Categories
(Core :: Security: Process Sandboxing, enhancement, P1)
Tracking
()
RESOLVED
FIXED
mozilla58
People
(Reporter: haik, Assigned: haik)
Details
(Whiteboard: sb+)
Attachments
(1 file)
The Mac plugin sandbox allows access to some services that are probably no longer needed given that content processes work without them.
(allow mach-lookup
(global-name "com.apple.cfprefsd.agent")
(global-name "com.apple.cfprefsd.daemon")
(global-name "com.apple.system.opendirectoryd.libinfo")
(global-name "com.apple.system.logger")
(global-name "com.apple.ls.boxd"))
Local browsing tests on macOS 10.12 without these allowances, testing Netflix, YouTube, Amazon, and other streaming video sites, appeared to work as normal.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee: nobody → haftandilian
Assignee | ||
Comment 2•7 years ago
|
||
On 10.12, I haven't found any references to opendirectoryd.libinfo, ls.boxd, or the cfprefsd.{agent,daemon}. com.apple.system.logger appears to be a mach interface to syslogd:
$ plutil -p /System/Library/LaunchDaemons/com.apple.syslogd.plist
{
...
"MachServices" => {
"com.apple.system.logger" => {
"ResetAtClose" => 1
}
}
...
}
Needs testing on earlier OS X versions.
Whiteboard: sb+
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Priority: -- → P1
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8912335 [details]
Bug 1401756 - [Mac] Remove unneeded mach-lookups from plugin sandbox rules.
https://reviewboard.mozilla.org/r/183662/#review188892
Attachment #8912335 -
Flags: review?(agaynor) → review+
Assignee | ||
Comment 5•7 years ago
|
||
I did some manual tests on 10.9 and didn't encounter any problems.
Pushed by haftandilian@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a327ade4032c
[Mac] Remove unneeded mach-lookups from plugin sandbox rules. r=Alex_Gaynor
![]() |
||
Comment 7•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•