diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2025-11-06 12:31:56 +0000 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-11-11 07:53:33 -0700 |
| commit | 21bd7b14a32de35bc6c4fff7a739dc5d33ce04f1 (patch) | |
| tree | 17f73739d3f81d077470952cb3c1504c90164933 /lib/debugobjects.c | |
| parent | b6c5f9454ef34fd2753ba7843ef4d9a295c43eee (diff) | |
io_uring/query: buffer size calculations with a union
Instead of having an array of a calculated size as a buffer, put all
query uapi structures into a union and pass that around. That way
everything is well typed, and the compiler will prevent opcode handling
using a structure not accounted into the buffer size.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
