-
Notifications
You must be signed in to change notification settings - Fork 949
WASIX POSIX compatibility tests #6070
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
Draft
artemyarulin
wants to merge
22
commits into
main
Choose a base branch
from
tests/wasix-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e84747b
tests(wasix): Add tests for mutliple syscalls
artemyarulin 5df1d80
test(wasix): Add random_get, fd_prestat_dir_name
artemyarulin 85b30ba
tests(wasix): closure_free, fd_fdflags_get, fd_fdstat_get, sched_yield
artemyarulin 04e5cac
tests(wasix): Add getcwd syscalls, tests and fixes for it
artemyarulin b87cd1d
tests(wasix): Syscall tests for fd_datasync, fd_advise, clock_time, f…
artemyarulin d93bc48
tests(wasix): Add fd_fdstat, fd_filestat, fd_sync, fd_renumber, proc_…
artemyarulin bb74ff3
tests: Add tty_get, sock_addr_perr, reflect_signature, port_mac, fd_d…
artemyarulin eab0a5c
tests: clock_time_set, closure_allocate, context_destroy, epoll_creat…
artemyarulin 67d37c5
tests: port_addr_list, port_route_list
artemyarulin 0335a48
virtual-net: add host ip/route list; fix WASIX C ABI layout
artemyarulin b112133
tests: fd_advice, fd_close, fd_dup, fd_fdstat_get, fd_seek, proc_exit…
artemyarulin a6dadc5
tests: fd_filestate_set_size
artemyarulin e90a394
tests: fd_event, fed_read, fd_seek, fd_write, tty_set
artemyarulin 3927fa1
test: fd_allocate, fd_read, fd_write, path_open2
artemyarulin 1b02465
tests: callback_signal, closure_prepare, fd_pipe, patj_filestat_set_t…
artemyarulin 85b9183
tests: sock_leave_multicast, sock_open, sock_recv, sock_send
artemyarulin 5431b51
tests: thread_signal, thread_exit, tty_set
artemyarulin 25ce21d
tests: call_dynamic, context_create, dlsym, fd_readdir, path_rename
artemyarulin 8e7f4d1
tests: epoll_ctl, futex_wake, futex_wake_all, proc_signal, proc_join,…
artemyarulin 0ca4c07
tests: context_switch, dlopen_libc, epoll_wait, futex_wait, path_open…
artemyarulin 5e1c62c
tests: poll_oneoff, port_bridge, port_route_add, proc_spawn, proc_spa…
artemyarulin d239123
tests: Port litebox tests
artemyarulin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a race condition between checking
pending_bytes(line 254) and callingsend_bytes(line 258). Another thread could write to the pipe between these operations, causing the buffer to exceed PIPE_MAX_BYTES. The lock should be held across both operations.