Skip to content

Use io_uring_ptr for pointers in io_uring_getevents_arg.#1338

Merged
sunfishcode merged 5 commits intomainfrom
sunfishcode/io-uring-ptrs
Feb 21, 2025
Merged

Use io_uring_ptr for pointers in io_uring_getevents_arg.#1338
sunfishcode merged 5 commits intomainfrom
sunfishcode/io-uring-ptrs

Conversation

@sunfishcode
Copy link
Copy Markdown
Member

io_uring represents pointers as u64. Rustix uses an io_uring_ptr struct which is layout-compatible with u64 but preserves pointer provenance.

io_uring represents pointers as `u64`. Rustix uses an `io_uring_ptr`
struct which is layout-compatible with `u64` but preserves pointer
provenance.
@sunfishcode sunfishcode merged commit fdb524e into main Feb 21, 2025
@sunfishcode sunfishcode deleted the sunfishcode/io-uring-ptrs branch February 21, 2025 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant