Closed Bug 1912481 Opened 2 years ago Closed 2 years ago

Preloading all DLLs for USER_RESTRICTED causes performance regressions.

Categories

(Core :: Security: Process Sandboxing, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
131 Branch
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.

This was mistakenly put inside the if for retrieving the Windows fonts path.

This is to allow Windows DLLs that are not used in all content processes to load
later if they are required.

This adds these rules to all sandboxes where they would be blocked by the access
token level.

Pushed by bobowencode@gmail.com: https://hg.mozilla.org/integration/autoland/rev/87b461657547 p1: Fix codec rules position. r=handyman https://hg.mozilla.org/integration/autoland/rev/74529bf06705 p2: Give read access to the Windows system binary dir. r=handyman https://hg.mozilla.org/integration/autoland/rev/bc3f09b25081 p3: Add Applocker rules to all sandboxed processes. r=handyman https://hg.mozilla.org/integration/autoland/rev/badee360becb p4: Add access to WOW64 codec registry entries for WOW64 processes. r=handyman
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: