On 2022-08-24 15:42, Paul Moore wrote:
The liburing library added a new field to the io_uring struct in
commit b02125e164ea ("Add preliminary support for using a registered ring
fd"),
first seen in liburing v2.2.
I'm guessing this should have been sent to the iouring folks?
Signed-off-by: Paul Moore <paul(a)paul-moore.com>
---
tests/io_uring/iouring.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/io_uring/iouring.c b/tests/io_uring/iouring.c
index 5d83146..af814f6 100644
--- a/tests/io_uring/iouring.c
+++ b/tests/io_uring/iouring.c
@@ -233,6 +233,7 @@ int uring_import(int fd, struct io_uring *ring, struct
io_uring_params *params)
ring->flags = params->flags;
ring->features = params->features;
ring->ring_fd = fd;
+ ring->enter_ring_fd = fd;
ring->sq.ring_sz = params->sq_off.array +
params->sq_entries * sizeof(unsigned);
--
Linux-audit mailing list
Linux-audit(a)redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit
- RGB
--
Richard Guy Briggs <rgb(a)redhat.com>
Sr. S/W Engineer, Kernel Security, Base Operating Systems
Remote, Ottawa, Red Hat Canada
IRC: rgb, SunRaycer
Voice: +1.647.777.2635, Internal: (81) 32635