Skip to content
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

Closed
7 of 9 tasks
cjihrig opened this issue Nov 28, 2019 · 0 comments
Closed
7 of 9 tasks

Changes to WASI spec in snapshot_preview2 #59

cjihrig opened this issue Nov 28, 2019 · 0 comments

Comments

@cjihrig
Copy link
Collaborator

cjihrig commented Nov 28, 2019

Changes that need to be addressed in uvwasi

Work is going on in the snapshot2 branch. Progress is indicated in the list below.

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 cjihrig mentioned this issue Jan 28, 2020
2 tasks
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
@cjihrig cjihrig closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants