Closed Bug 1713735 Opened 3 years ago Closed 3 years ago

Build wasm2c compiler and runtime in tree for use in rlbox sandboxing

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: shravanrn, Assigned: shravanrn)

References

(Blocks 1 open bug)

Details

Attachments

(6 files)

In preparation for migrating from the lucet wasm compiler to wasm2c, we will be pulling in and building the wasm2c compiler (needed during build time to compile wasm files) and wasm2c runtime (runtime needed during execution).

We will be using a fork of wasm2c located here, which fixes many issues in the upstream wasm2c.

Attachment #9224392 - Attachment description: WIP: Bug 1713735 part 1 - Build wasm2c for use in rlbox r=glandium → Bug 1713735 part 1 - Build wasm2c for use in rlbox r=glandium
Attachment #9224391 - Attachment description: WIP: Bug 1713735 part 2 - Build wasm2c for use in rlbox r=glandium → Bug 1713735 part 2 - Build wasm2c for use in rlbox r=glandium
Blocks: 1715696
Attachment #9230412 - Attachment description: Bug 1715696 - Include rlbox_wasm2c_sandbox repo in the mozilla tree r=glandium → Bug 1713735 - Include rlbox_wasm2c_sandbox repo in the mozilla tree r=glandium
Keywords: leave-open
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/97d3c8498cde Only build rlbox_lucet_sandbox when wasm-sandboxing is enabled. r=firefox-build-system-reviewers,mhentges
Keywords: leave-open
Attachment #9230412 - Attachment description: Bug 1713735 - Include rlbox_wasm2c_sandbox repo in the mozilla tree r=glandium → Bug 1713735 part 3 - Include rlbox_wasm2c_sandbox repo in the mozilla tree r=glandium

For the moment, it's opt-in via explicitly setting LUCETC to an empty
string.

Attachment #9224391 - Attachment description: Bug 1713735 part 2 - Build wasm2c for use in rlbox r=glandium → Bug 1713735 part 1 - Vendored files for wasm2c for use in rlbox r=glandium
Attachment #9224392 - Attachment description: Bug 1713735 part 1 - Build wasm2c for use in rlbox r=glandium → Bug 1713735 part 2 - Configs to build wasm2c for use in rlbox r=glandium
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/b74f8a30fe05 part 1 - Vendored files for wasm2c for use in rlbox r=glandium https://hg.mozilla.org/integration/autoland/rev/fa3c73ca1c5a part 2 - Configs to build wasm2c for use in rlbox r=glandium https://hg.mozilla.org/integration/autoland/rev/d6f3ea5ee21b part 3 - Include rlbox_wasm2c_sandbox repo in the mozilla tree r=glandium https://hg.mozilla.org/integration/autoland/rev/b2744406312a Add the bits necessary to build wasm sandbox libs with wasm2c. r=firefox-build-system-reviewers,mhentges
Blocks: 1720817
Blocks: 1720828

Similar to wasm2c. Also fixes a typo in the name of another component.

Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/0fc2d1c9f7c6 set Bugzilla component for rlbox_wasm2c_sandbox. a=metadata-fix
Blocks: 1758626
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: