Skip to contentSkip to conversation

liburing.map: Export `io_uring_{enable_rings,register_restrictions}`

PATCH Applied Ammar Faizi 2 participants 2 messages Jan 14, 2023 io_uring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 liburing.map: Export `io_uring_{enable_rings,register_restrictions}`

From: Ammar Faizi <[email protected]>

When adding these two functions, Stefano didn't add io_uring_enable_rings() and io_uring_register_restrictions() to liburing.map. It causes a linking problem. Add them to liburing.map.

This issue hits liburing 2.0 to 2.3.

Fixes d2654b1ac886 ("Add helper to enable rings")
Fixes 25cf9b968a27 ("Add helper to register restrictions")
Cc Dylan Yudaken <[email protected]>
Cc Stefano Garzarella <[email protected]>
---
 src/liburing.map | 3 +++
 1 file changed, 3 insertions(+)
src/liburing.map +3 -0
index 67aebae..1dbe765 100644
@@ -73,4 +73,7 @@ LIBURING_2.4 {
 		io_uring_major_version;
 		io_uring_minor_version;
 		io_uring_check_version;
+
+		io_uring_enable_rings;
+		io_uring_register_restrictions;
 } LIBURING_2.3;

base-commit: 0df8a379e929641699c2ab1f42de1efd2515b908

Signature · 1 line
Ammar Faizi
maintainer Applied
#1 lore raw
Quoted 8 lines · Ammar Faizi

When adding these two functions, Stefano didn't add io_uring_enable_rings() and io_uring_register_restrictions() to liburing.map. It causes a linking problem. Add them to liburing.map.

This issue hits liburing 2.0 to 2.3.

[...]

Applied, thanks!

[1/1] liburing.map: Export io_uring_{enable_rings,register_restrictions}

      commit: 19424b0baa5999918701e1972b901b0937331581

Best regards,

Signature · 1 line
Jens Axboe