swiftwasm / swiftwasm/WasmKit

Public WASI host API should allow specifying per-preopen permissions

Open
#400 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Swift
Stars
504
Forks
37
Avg merge
1d 1h
Merged PRs (30d)
44

Description

WasmKit should allow exposing a host read-write file descriptor as read-only via WASI preopens API.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating WasmKit’s public WASI preopens API and reviewing how preopen file-descriptor permissions are currently represented. Trace the host read-write descriptor path and define the API behavior needed to expose it as read-only; the work is done when per-preopen permissions can be specified and the resulting access is enforced.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift, wasm
Domain
api, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.