-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to WASI spec in snapshot_preview2 #59
Labels
Comments
cjihrig
added a commit
that referenced
this issue
Jan 25, 2020
This was changed as part of snapshot_preview2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 25, 2020
snapshot_preview2 added the constraint that poll_oneoff() should return EINVAL if nsubscriptions is zero. Even though poll_oneoff() isn't implemented yet, this commit adds the necessary input validation. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 25, 2020
snapshot_preview2 dropped the signal related APIs. This means removing __wasi_proc_raise() and __wasi_signal_t, which is what this commit does. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 25, 2020
snapshot_preview2 added support for FIFO types. Prior to this, FIFOs were treated as sockets and unknown files. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 26, 2020
This was changed as part of snapshot_preview2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 26, 2020
snapshot_preview2 added the constraint that poll_oneoff() should return EINVAL if nsubscriptions is zero. Even though poll_oneoff() isn't implemented yet, this commit adds the necessary input validation. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 26, 2020
snapshot_preview2 dropped the signal related APIs. This means removing __wasi_proc_raise() and __wasi_signal_t, which is what this commit does. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 26, 2020
snapshot_preview2 added support for FIFO types. Prior to this, FIFOs were treated as sockets and unknown files. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 26, 2020
snapshot2 adds the following for working with file permissions: - A permissions data type representing read, write, execute, and "private" permissions. - path_filestat_set_permissions() which is similar to fchmodat(). - fd_filestat_set_permissions() which is similar to fchmod(). - Two new rights for calling the two new functions. - A permissions field added to the filestat type. - A permissions argument passed to path_open(). This will need to be verified against the wasi-libc once the changes land there. Based on the auto-generated WASI docs, it seems likely that existing constants will change/break. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 26, 2020
snapshot2 adds the following for working with file permissions: - A permissions data type representing read, write, execute, and "private" permissions. - path_permissions_set() which is similar to fchmodat(). - fd_permissions_set() which is similar to fchmod(). - Two new rights for calling the two new functions. - A permissions field added to the filestat type. - A permissions argument passed to path_open(). This will need to be verified against the wasi-libc once the changes land there. Based on the auto-generated WASI docs, it seems likely that existing constants will change/break. Refs: #59
cjihrig
added a commit
that referenced
this issue
Jan 28, 2020
snapshot2 adds the following for working with file permissions: - A permissions data type representing read, write, execute, and "private" permissions. - path_permissions_set() which is similar to fchmodat(). - fd_permissions_set() which is similar to fchmod(). - Two new rights for calling the two new functions. - A permissions field added to the filestat type. - A permissions argument passed to path_open(). This will need to be verified against the wasi-libc once the changes land there. Based on the auto-generated WASI docs, it seems likely that existing constants will change/break. Refs: #59
cjihrig
added a commit
that referenced
this issue
Feb 21, 2020
This was changed as part of snapshot_preview2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Feb 21, 2020
snapshot_preview2 added the constraint that poll_oneoff() should return EINVAL if nsubscriptions is zero. Even though poll_oneoff() isn't implemented yet, this commit adds the necessary input validation. Refs: #59
cjihrig
added a commit
that referenced
this issue
Feb 21, 2020
snapshot_preview2 dropped the signal related APIs. This means removing __wasi_proc_raise() and __wasi_signal_t, which is what this commit does. Refs: #59
cjihrig
added a commit
that referenced
this issue
Feb 21, 2020
snapshot_preview2 added support for FIFO types. Prior to this, FIFOs were treated as sockets and unknown files. Refs: #59
cjihrig
added a commit
that referenced
this issue
Feb 21, 2020
snapshot2 adds the following for working with file permissions: - A permissions data type representing read, write, execute, and "private" permissions. - path_permissions_set() which is similar to fchmodat(). - fd_permissions_set() which is similar to fchmod(). - Two new rights for calling the two new functions. - A permissions field added to the filestat type. - A permissions argument passed to path_open(). This will need to be verified against the wasi-libc once the changes land there. Based on the auto-generated WASI docs, it seems likely that existing constants will change/break. Refs: #59
cjihrig
added a commit
that referenced
this issue
Feb 21, 2020
These clocks were removed from WASI in snapshot2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Feb 21, 2020
The WASI spec has decided to deviate from POSIX starting in snapshot preview 2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Feb 21, 2020
Unions became tagged unions in snapsnot preview 2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 20, 2020
This was changed as part of snapshot_preview2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 20, 2020
snapshot_preview2 added the constraint that poll_oneoff() should return EINVAL if nsubscriptions is zero. Even though poll_oneoff() isn't implemented yet, this commit adds the necessary input validation. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 20, 2020
snapshot_preview2 dropped the signal related APIs. This means removing __wasi_proc_raise() and __wasi_signal_t, which is what this commit does. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 20, 2020
snapshot_preview2 added support for FIFO types. Prior to this, FIFOs were treated as sockets and unknown files. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 20, 2020
snapshot2 adds the following for working with file permissions: - A permissions data type representing read, write, execute, and "private" permissions. - path_permissions_set() which is similar to fchmodat(). - fd_permissions_set() which is similar to fchmod(). - Two new rights for calling the two new functions. - A permissions field added to the filestat type. - A permissions argument passed to path_open(). This will need to be verified against the wasi-libc once the changes land there. Based on the auto-generated WASI docs, it seems likely that existing constants will change/break. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 20, 2020
These clocks were removed from WASI in snapshot2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 20, 2020
The WASI spec has decided to deviate from POSIX starting in snapshot preview 2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 20, 2020
Unions became tagged unions in snapsnot preview 2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 25, 2020
This was changed as part of snapshot_preview2. Refs: #59
cjihrig
added a commit
that referenced
this issue
Apr 25, 2020
snapshot_preview2 added the constraint that poll_oneoff() should return EINVAL if nsubscriptions is zero. Even though poll_oneoff() isn't implemented yet, this commit adds the necessary input validation. Refs: #59
This was referenced Nov 29, 2023
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changes that need to be addressed in uvwasi
Work is going on in the snapshot2 branch. Progress is indicated in the list below.
__wasi_proc_raise()
function and the__wasi_signal_t
type and constants were removed in Removeproc_raise
and the signal types and constants. WebAssembly/WASI#136. This change impacts ephemeral only.__wasi_path_permissions_set()
and__wasi_fd_permissions_set()
were added in Add functions for working with file permissions. WebAssembly/WASI#170.__wasi_poll_oneoff()
function should returnEINVAL
ifnsubscriptions
is zero. Make poll return errno::inval if there are no subscriptions. WebAssembly/WASI#193.uvwasi_filetype_t
addedUVWASI_FILETYPE_FIFO
in Add FIFO filetype to match POSIX WebAssembly/WASI#189.UVWASI_O_CREAT
flag should be renamed toUVWASI_O_CREATE
, in accordance with Renamecreat
tocreate
. WebAssembly/WASI#199.process_cputime_id
andthread_cputime_id
were removed in Remove the cputime clocks. WebAssembly/WASI#197.acces
was renamed toaccess
in Rename acces to access #209 WebAssembly/WASI#211.uvwasi_dirent_t
fields have been rearranged to move thed_namlen
field to the end of the struct. See Move $d_namlen to the end of $dirent WebAssembly/WASI#264.The text was updated successfully, but these errors were encountered: