Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tokio shim wishlist #3963

Open
tiif opened this issue Oct 11, 2024 · 0 comments
Open

Tokio shim wishlist #3963

tiif opened this issue Oct 11, 2024 · 0 comments
Labels
A-shims Area: This affects the external function shims C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement C-project Category: a larger project is being tracked here, usually with checkmarks for individual steps

Comments

@tiif
Copy link
Contributor

tiif commented Oct 11, 2024

I ran 1461 tests from tokio test suite with miri, 1230 of them passed, 217 failed, and 14 exceeded 5 minutes timeout.

Among the 217 failed tests, 159 of them are unsupported FFI errors. Below are the number of occurences for each unsupported syscall:

  count 
    132 socket
     10 mkfifo
      8 sigaction
      2 getaddrinfo
      2 fchmod
      1 shutdown
      1 linkat
      1 getsockopt
      1 fstat
      1 chmod

total count: 159

For tokio doc test:

count
   17 socket
    7 socketpair SOCK_DGRAM
    1 pidfd_spawnp

total count: 25

Supported syscall but with unsupported flag:

  1. F_GETFL for fcntl
@RalfJung RalfJung added C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement C-project Category: a larger project is being tracked here, usually with checkmarks for individual steps A-shims Area: This affects the external function shims labels Oct 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-shims Area: This affects the external function shims C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement C-project Category: a larger project is being tracked here, usually with checkmarks for individual steps
Projects
None yet
Development

No branches or pull requests

2 participants