Commit fdb524e
authored
* Use `io_uring_ptr` for pointers in `io_uring_getevents_arg`.
io_uring represents pointers as `u64`. Rustix uses an `io_uring_ptr`
struct which is layout-compatible with `u64` but preserves pointer
provenance.
* Align io_uring_ptr to 8 on arm.
* Add a testcase for io_uring_ptr.
1 parent de5dd39 commit fdb524e
2 files changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
233 | 242 | | |
234 | 243 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
| 962 | + | |
962 | 963 | | |
963 | 964 | | |
964 | 965 | | |
| |||
1395 | 1396 | | |
1396 | 1397 | | |
1397 | 1398 | | |
1398 | | - | |
| 1399 | + | |
1399 | 1400 | | |
1400 | 1401 | | |
1401 | | - | |
| 1402 | + | |
1402 | 1403 | | |
1403 | 1404 | | |
1404 | 1405 | | |
| |||
1559 | 1560 | | |
1560 | 1561 | | |
1561 | 1562 | | |
| 1563 | + | |
1562 | 1564 | | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
1563 | 1580 | | |
1564 | 1581 | | |
1565 | 1582 | | |
| |||
0 commit comments