Stream: git-wasmtime

Topic: wasmtime / issue #3215 Implement a setting for reserved d...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 19 2021 at 17:57):

alexcrichton commented on issue #3215:

It's worth pointing out that another thing I looked into to do this was Linux's mremap syscall. From what I could tell though mremap failed on memory regions where there were varying protections, which is what we do for our memory regions with guard pages and such. Consequently I don't think that we can use mremap on Linux, or at least not that I know of, unless I'm just being naive and there is actually a way to mremap a region with varying protections.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 19 2021 at 18:02):

bjorn3 commented on issue #3215:

  1. What if you first set a single protection, then remap and then revert back to the original protection?
  2. I don't think you will need to remap the guard pages.
  3. Can you remap each memory region with different protection separately?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 19 2021 at 18:16):

github-actions[bot] commented on issue #3215:

Subscribe to Label Action

cc @peterhuene

<details>
This issue or pull request has been labeled: "wasmtime:api"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Aug 20 2021 at 15:00):

alexcrichton commented on issue #3215:

@bjorn3 I was unable to get mremap to work in my tests, if you're able to get it to work though I think it would be great to implement!


Last updated: Dec 23 2024 at 12:05 UTC