Preloading all DLLs for USER_RESTRICTED causes performance regressions.
Categories
(Core :: Security: Process Sandboxing, enhancement, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox131 | --- | fixed |
People
(Reporter: bobowen, Assigned: bobowen)
References
Details
Attachments
(4 external files)
Preloading all of the DLLs that might be required in a content process when we are using USER_RESTRICTED caused regressions (bug 1903523, bug 1905863).
To try and address this we will instead give read access to the Windows binary dir and only preload ones that are always loaded.
We did see some perf improvements from preloading (bug 1906456), which we'll hopefully get from the more limited preloading.
| Assignee | ||
Comment 1•2 years ago
|
||
This was mistakenly put inside the if for retrieving the Windows fonts path.
| Assignee | ||
Comment 2•2 years ago
|
||
This is to allow Windows DLLs that are not used in all content processes to load
later if they are required.
| Assignee | ||
Comment 3•2 years ago
|
||
This adds these rules to all sandboxes where they would be blocked by the access
token level.
| Assignee | ||
Comment 4•2 years ago
|
||
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/87b461657547
https://hg.mozilla.org/mozilla-central/rev/74529bf06705
https://hg.mozilla.org/mozilla-central/rev/bc3f09b25081
https://hg.mozilla.org/mozilla-central/rev/badee360becb
Description
•