Commit d8a3ba9
io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
Verify that the user does not pass in anything but 0 for this field.
Fixes: 992da01 ("io_uring: change registration/upd/rsrc tagging ABI")
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220412163042.2788062-3-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 565c5e6 commit d8a3ba9
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6839 | 6839 | | |
6840 | 6840 | | |
6841 | 6841 | | |
| 6842 | + | |
6842 | 6843 | | |
6843 | 6844 | | |
6844 | 6845 | | |
| |||
11423 | 11424 | | |
11424 | 11425 | | |
11425 | 11426 | | |
11426 | | - | |
| 11427 | + | |
11427 | 11428 | | |
11428 | 11429 | | |
11429 | 11430 | | |
| |||
11437 | 11438 | | |
11438 | 11439 | | |
11439 | 11440 | | |
11440 | | - | |
| 11441 | + | |
11441 | 11442 | | |
11442 | 11443 | | |
11443 | 11444 | | |
| |||
0 commit comments