Skip to content

Run lind-wasm with Enarx in SGX#5

Merged
Yaxuan-w merged 7 commits intomainfrom
run-lind
Jul 10, 2025
Merged

Run lind-wasm with Enarx in SGX#5
Yaxuan-w merged 7 commits intomainfrom
run-lind

Conversation

@Yaxuan-w
Copy link
Copy Markdown
Member

@Yaxuan-w Yaxuan-w commented Jul 9, 2025

  • fork / pthread works
  • write / printf interacts with terminal successfully
  • lack access to local FS
    • need to preload by Enarx.toml?
  • exec not working (maybe same reason as local FS)

Need coupled with modifications in lind-wasm codebase (branch run-with-enarx) to work.

@Yaxuan-w Yaxuan-w changed the title Run lind Run lind-wasm with Enarx in SGX Jul 9, 2025
@Yaxuan-w
Copy link
Copy Markdown
Member Author

Yaxuan-w commented Jul 9, 2025

  • Changed FS_ROOT in wasmtime and rawposix to gain access
  • Enarx.toml usage seems not working now
  • execv works by passing the wasm binary

Still need to work on passing the arguments since I removed dependencies of CLI.

@Yaxuan-w
Copy link
Copy Markdown
Member Author

Yaxuan-w commented Jul 9, 2025

  • Handled args by enabling Enarx.toml usage

Comment thread crates/exec-wasmtime/src/runtime/mod.rs Outdated
Comment thread crates/exec-wasmtime/src/runtime/mod.rs Outdated
@Yaxuan-w Yaxuan-w merged commit cadbc0a into main Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants