-
Notifications
You must be signed in to change notification settings - Fork 413
Open
Labels
A-shimsArea: This affects the external function shimsArea: This affects the external function shimsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement
Description
Hello, as titled I am running into unsupported syscall error in my project, where I do use io_uring.
// from kernel - 425 maps to `io_uring_setup`
uapi/asm-generic/unistd.h
759:#define __NR_io_uring_setup 425
760:__SYSCALL(__NR_io_uring_setup, sys_io_uring_setup)
// Error log from miri
$ cargo +nightly test miri` test runtime::cancel::tests::test_cancel_timeout_multishot ... error: unsupported operation: syscall: unsupported syscall number 425
--> /home/doodly/opt/io-uring/src/sys/mod.rs:115:15
|
115 | to_result(syscall(SYSCALL_SETUP, entries as c_long, p as c_long) as _)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsupported operation occurred hereI tried digging into the codebase, and am finding the syscall() function in src/shims/unix/linux_like/syscall.rs, but could not decipher exactly the path ahead to adding support for this syscall.
Thank you for the help.
Metadata
Metadata
Assignees
Labels
A-shimsArea: This affects the external function shimsArea: This affects the external function shimsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement