Govindarajulu Varadarajan
ea129e55c9
io_uring: Add size check for sqe->cmd
...
For SQE128, sqe->cmd provides 80 bytes for uring_cmd. Add macro to
check if size of user struct does not exceed 80 bytes at compile time.
User doesn't have to track this manually during development.
Replace io_uring_sqe_cmd() inline func with macro and add
io_uring_sqe128_cmd() which checks struct
size for 16 bytes cmd and 80 bytes cmd respectively.
Signed-off-by: Govindarajulu Varadarajan <govind.varadar@gmail.com >
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com >
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2026-02-19 07:26:26 -07:00
..
2026-02-17 09:11:04 -08:00
2026-02-09 20:28:45 -08:00
2026-02-17 09:11:04 -08:00
2026-02-12 17:12:43 -08:00
2026-02-12 12:13:01 -08:00
2026-02-12 12:13:01 -08:00
2026-02-16 09:35:24 -08:00
2026-02-19 07:26:26 -07:00
2026-02-17 09:30:52 -08:00
2026-02-17 09:11:04 -08:00
2026-02-17 09:11:04 -08:00
2026-02-16 09:30:44 -08:00
2026-02-10 19:01:45 -08:00
2026-02-17 09:11:04 -08:00
2026-02-11 18:27:08 -08:00
2026-02-11 17:20:38 -08:00
2026-02-13 15:39:15 -08:00
2026-02-12 16:33:05 -08:00
2026-02-12 16:33:05 -08:00
2026-02-17 11:47:17 -08:00
2026-02-12 15:52:39 -08:00
2026-02-11 15:14:35 +01:00
2026-02-10 18:14:36 -08:00
2026-02-12 15:43:02 -08:00
2026-02-17 09:11:04 -08:00
2026-02-13 12:02:18 -08:00
2026-02-14 14:38:23 -08:00
2026-02-15 08:24:19 -08:00
2026-02-14 11:07:12 +01:00
2026-02-12 12:13:01 -08:00
2026-02-10 20:45:30 -08:00
2026-02-17 09:11:04 -08:00
2026-02-17 09:11:04 -08:00
2026-02-12 17:05:20 -08:00
2026-02-15 08:24:19 -08:00
2026-02-12 19:17:44 -08:00
2026-02-16 09:30:44 -08:00
2026-02-16 11:15:19 -08:00
2026-02-10 20:45:30 -08:00
2026-02-17 08:48:45 -08:00
2026-02-12 12:13:01 -08:00
2026-02-16 11:05:44 -08:00
2026-02-17 09:11:04 -08:00
2026-02-16 09:30:44 -08:00
2026-02-13 15:06:58 -08:00
2026-02-05 17:07:37 +01:00
2026-02-17 09:11:04 -08:00
2026-02-06 20:54:50 -08:00
2026-02-04 13:16:40 -06:00
2026-02-19 07:26:26 -07:00
2026-02-17 09:11:04 -08:00
2026-02-12 12:13:01 -08:00
2026-02-10 21:42:10 -08:00
2026-02-12 16:33:05 -08:00
2026-02-17 11:40:04 -08:00
2026-02-16 09:35:24 -08:00
2026-02-17 09:36:43 -08:00
2026-02-06 10:10:39 -08:00
2026-02-12 18:24:37 -08:00
2026-02-12 12:13:01 -08:00
2026-02-11 17:43:59 -08:00
2026-02-10 18:14:36 -08:00
2026-02-16 11:05:44 -08:00
2026-02-16 09:30:44 -08:00
2026-02-12 15:43:02 -08:00
2026-02-13 12:02:18 -08:00
2026-02-17 11:40:04 -08:00
2026-02-17 10:07:13 -08:00
2026-02-17 09:11:04 -08:00
2026-02-17 09:20:58 -08:00
2026-02-12 15:43:02 -08:00
2026-02-10 13:22:50 -08:00
2026-02-17 09:36:43 -08:00
2026-02-17 09:30:52 -08:00
2026-02-12 15:43:02 -08:00
2026-02-17 09:36:43 -08:00
2026-02-09 12:21:32 -05:00
2026-02-12 15:52:39 -08:00
2026-02-13 12:02:18 -08:00
2026-02-16 11:10:33 -08:00
2026-02-15 10:20:37 -08:00
2026-02-13 12:02:18 -08:00
2026-02-16 12:21:22 -08:00
2026-02-10 19:01:45 -08:00