Skip to content

WasmVM: VFS stat metadata incomplete (fstat, lstat, fstatat) #34

@NathanFlurry

Description

@NathanFlurry

Summary

The WASI VFS stat family of functions returns incomplete metadata, causing os-test stat tests to fail. Fields like st_dev, st_ino, st_nlink, st_mode (permission bits), and timestamps may not be properly populated.

Affected os-test cases

  • basic/sys_stat/fstat
  • basic/sys_stat/fstatat
  • basic/sys_stat/lstat
  • basic/sys_stat/stat

Expected behavior

stat structs should be fully populated with correct values matching POSIX expectations.

Context

Discovered via os-test POSIX conformance suite. Tracked in posix-exclusions.json as fail / implementation-gap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions