bytecodealliance / bytecodealliance/rustix

`io_uring_register`'s `arg` parameter should be `*mut`

Open
#1,545 0 comments 0 reactions 0 assignees View on GitHub
semver bump
Dominant language
Rust
Stars
2.1k
Forks
294
Avg merge
4h 7m
Merged PRs (30d)
2

Description

`io_uring_register` and `io_uring_register_with` take an `arg: *const c_void`, however when `opcode` is `IoringRegisterOp::RegisterRingFds`, the system call mutates the `offset` field of the pointed-to `io_uring_rsrc_update`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.