Skip to content

What's the intended semantics of path_open with absolute path? #374

@yagehu

Description

@yagehu

Does the WASI spec intend to disallow absolute path in path_open calls? If not, what should the path look like?

Take wasmtime for example, I've tried to open /file and /dir/file and both returns error code 76. This assumes I've passed in dir as a preopened directory with wasmtime --dir dir path_open.wat.

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