Summary
glob() and globfree() from the WASI sysroot (musl-based) do not work correctly. This is likely because glob's internal directory traversal doesn't work properly with the WASI filesystem APIs.
Affected os-test cases
basic/glob/glob
basic/glob/globfree
Expected behavior
glob() should enumerate filesystem entries matching a pattern, and globfree() should release the results.
Context
Discovered via os-test POSIX conformance suite. Tracked in posix-exclusions.json as fail / patched-sysroot.