From 5d6b687dfefc10ae7d7636d6f67d74ab1fd5684c Mon Sep 17 00:00:00 2001 From: Ryan Seipp <12203894+ryanseipp@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:28:55 -0400 Subject: [PATCH] Add `IORING_ENTER_REGISTERED_RING` flag (#840) --- src/io_uring.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/io_uring.rs b/src/io_uring.rs index 7be65705e..09a4d6d62 100644 --- a/src/io_uring.rs +++ b/src/io_uring.rs @@ -121,6 +121,9 @@ bitflags::bitflags! { /// `IORING_ENTER_EXT_ARG` const EXT_ARG = sys::IORING_ENTER_EXT_ARG; + /// `IORING_ENTER_REGISTERED_RING` + const REGISTERED_RING = sys::IORING_ENTER_REGISTERED_RING; + /// const _ = !0; }