Commit 8622b20
io_uring: add validate_fixed_range() for validate fixed buffer
Add helper of validate_fixed_range() for validating fixed buffer
range.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250325135155.935398-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent f8554f5 commit 8622b20
1 file changed
+22
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
| 1005 | + | |
| 1006 | + | |
1008 | 1007 | | |
1009 | 1008 | | |
1010 | | - | |
1011 | 1009 | | |
1012 | | - | |
1013 | | - | |
1014 | 1010 | | |
1015 | 1011 | | |
1016 | 1012 | | |
1017 | 1013 | | |
1018 | 1014 | | |
1019 | 1015 | | |
1020 | 1016 | | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
1021 | 1032 | | |
1022 | 1033 | | |
1023 | 1034 | | |
| |||
1307 | 1318 | | |
1308 | 1319 | | |
1309 | 1320 | | |
1310 | | - | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
1311 | 1326 | | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
1316 | 1327 | | |
1317 | 1328 | | |
1318 | 1329 | | |
| |||
0 commit comments