diff options
| author | Dylan Yudaken <dyudaken@gmail.com> | 2023-07-25 20:34:02 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-07-30 13:35:50 +0000 |
| commit | 84487a6f58dad25a72c356bd8a8ba455a87ae663 (patch) | |
| tree | 560f827e12c98e0cc17412b3a869f56319622bb7 /sys/linux | |
| parent | 458a107b4b78803973245909f1f3ab19081ca63b (diff) | |
sys/io_uring, executor/common_linux: remove sqes_index in syz_io_uring_submit
This parameter barely increases coverage since the tail is always set
to the entry that is written, but it does increase the complexity of
the api and seems to reduce coverage when I run it locally.
Remove it.
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/io_uring.txt | 2 | ||||
| -rw-r--r-- | sys/linux/test/io_uring | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/linux/io_uring.txt b/sys/linux/io_uring.txt index ed7112bad..713b75a4b 100644 --- a/sys/linux/io_uring.txt +++ b/sys/linux/io_uring.txt @@ -196,7 +196,7 @@ io_uring_params { syz_io_uring_complete(ring_ptr ring_ptr) fd # Submit sqe into the sq_ring -syz_io_uring_submit(ring_ptr ring_ptr, sqes_ptr sqes_ptr, sqe ptr[in, io_uring_sqe_u], sqes_index int32) +syz_io_uring_submit(ring_ptr ring_ptr, sqes_ptr sqes_ptr, sqe ptr[in, io_uring_sqe_u]) io_uring_sqe_u [ IORING_OP_NOP io_uring_sqe$nop diff --git a/sys/linux/test/io_uring b/sys/linux/test/io_uring index 9bb7fb66f..ae7383ec1 100644 --- a/sys/linux/test/io_uring +++ b/sys/linux/test/io_uring @@ -9,7 +9,7 @@ syz_memcpy_off$IO_URING_METADATA_FLAGS(r1, 0x114, &AUTO=0x1, 0x0, AUTO) # Write an openat2 operation to the submission queue -syz_io_uring_submit(r1, r2, &AUTO=@IORING_OP_OPENAT2={AUTO, 0x0, AUTO, 0xffffffffffffff9c, &AUTO={0x42, 0x0, 0x0}, &AUTO='./file1\x00', AUTO, AUTO, 0x12345, {AUTO, 0x0, "0000000000000000000000000000000000000000"}}, 0x0) +syz_io_uring_submit(r1, r2, &AUTO=@IORING_OP_OPENAT2={AUTO, 0x0, AUTO, 0xffffffffffffff9c, &AUTO={0x42, 0x0, 0x0}, &AUTO='./file1\x00', AUTO, AUTO, 0x12345, {AUTO, 0x0, "0000000000000000000000000000000000000000"}}) # Notify the kernel about the submission and wait until completion |
