Skip to content

Support mprotect in wasi-emulated-mman #497

Closed
@whitequark

Description

@whitequark

Is there any interest in supporting mprotect in the emulation library? The main utility would be to compile programming language runtimes that link, but not execute at runtime, a JIT (what prompted me to write the issue was LLVM, similar to #447).

I think the semantics should be that mapping in-bounds memory is only possible as PROT_READ|PROT_WRITE, and out-of-bounds memory as PROT_NONE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions