linux.mozconfig: enable sandbox and forkserver #52

Merged
vimuser merged 1 commit from leah/enable-optimisations into master 2026-04-25 19:01:00 +00:00
vimuser commented 2026-04-25 00:24:50 +00:00 (Migrated from codeberg.org)

sandbox not to be confused with policy sandbox used
for Components. this is the process sandbox.

forkserver reduces memory usage during launch.

Signed-off-by: Leah Rowe leah@libreboot.org

sandbox not to be confused with policy sandbox used for Components. this is the process sandbox. forkserver reduces memory usage during launch. Signed-off-by: Leah Rowe <leah@libreboot.org>
any1here commented 2026-04-25 10:35:11 +00:00 (Migrated from codeberg.org)

https://searchfox.org/firefox-main/source/toolkit/moz.configure#3838 since the sandbox is enabled on macOS and Windows by default, it could be added there too.

https://searchfox.org/firefox-main/source/toolkit/moz.configure#3838 since the sandbox is enabled on macOS and Windows by default, it could be added there too.
vimuser commented 2026-04-25 14:55:19 +00:00 (Migrated from codeberg.org)

you still need to pass --enable-sandbox to actually use it. moz.configure enables MOZ_SANDBOX when --enable-sandbox is passed. so this patch ensures that it's turned on.

you still need to pass `--enable-sandbox` to actually use it. moz.configure enables MOZ_SANDBOX when --enable-sandbox is passed. so this patch ensures that it's turned on.
any1here commented 2026-04-25 15:59:27 +00:00 (Migrated from codeberg.org)

@vimuser wrote in https://codeberg.org/librewolf/bsys6/pulls/52#issuecomment-13745180:

you still need to pass --enable-sandbox to actually use it. moz.configure enables MOZ_SANDBOX when --enable-sandbox is passed. so this patch ensures that it's turned on.

I meant if you could add it to https://codeberg.org/librewolf/bsys6/src/branch/master/assets/macos.mozconfig and https://codeberg.org/librewolf/bsys6/src/branch/master/assets/windows.mozconfig as well.

@vimuser wrote in https://codeberg.org/librewolf/bsys6/pulls/52#issuecomment-13745180: > you still need to pass `--enable-sandbox` to actually use it. moz.configure enables MOZ_SANDBOX when --enable-sandbox is passed. so this patch ensures that it's turned on. I meant if you could add it to https://codeberg.org/librewolf/bsys6/src/branch/master/assets/macos.mozconfig and https://codeberg.org/librewolf/bsys6/src/branch/master/assets/windows.mozconfig as well.
vimuser commented 2026-04-25 17:11:14 +00:00 (Migrated from codeberg.org)

ah, yes. i see. ok, i've force-pushed a new version, that also enables the process sandbox on windows and macos.

ah, yes. i see. ok, i've force-pushed a new version, that also enables the process sandbox on windows and macos.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
librewolf/bsys6!52
No description provided.