Dan Gohman
Dan Gohman
As discussed in WebAssembly/WASI#762, change-file-permissions-at is currently meant to change all the file permissions. That's enough for the [use cases](https://github.com/WebAssembly/WASI/issues/766) that motivated it. However, https://github.com/bytecodealliance/preview2-prototyping/issues/37 asks if it's possible to...
In POSIX circles, which WASI generally tries to follow, there are some use cases for fsyncing a directory, to ensure that a file's directory entry has been written to storage....
Hard links typically cannot cross filesystems, and mount points could appear practically anywhere. Consequently, we should document that creating a hard link anywhere other than the same directory as the...
Many OS's don't support changing most of the descriptor flags on an open descriptor. The two flags WASI has that do seem like they might be portable to allow setting...
In POSIX, the behavior of `O_EXCL` when used without `O_CREAT` is undefined. WASI should define a behavior and document it.
`open-at` can fail for many reasons; we should document the failure conditions and what the `errno` codes for them are.
These flags are all about providing data integrity guarantees, however to my knowledge, no one has yet investigated the degree to which these guarantees could be made in a portable...
The `filesize` type is defined as unsigned `u64`. In POSIX, `off_t` is a signed type. Most practical implementations won't support file sizes >= 263, so: what error code should implementations...
Replace the template table of contents with an actual one.