From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id 927AF7E799; Sat, 14 Jan 2023 03:54:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1673668464; bh=7CaOxh+S96wsVYtqquOG9shNDujwpa5ymKx65ZNpgqk=; h=From:To:Cc:Subject:Date:From; b=B5QfsRp5dyH6KT1ycmWpIXd8hP8HFNtKShcl6KYL27XWgoyzB23lHdKbudSBbNsT8 /XAp1Xe5ZH6+mD0p9h3DjAMqnXcudzlr6qqhoHrHXfnFXBiMS0a1i1cKqYapjs6cN6 kHEgXDwZooOGL9iKEq1BvifLXEms88QgfzMYyL1Yyll1XRruyqfh21sD9LXMCCjhkV 1K4hxYWGRRshK+c/b0j2qFcBExG6geyMHyUkVWsyAL31nUcxmsCTCepJDzaaCgekPY BkrjLXOqhnMCyKhAguBnb47mYuLpiCtRaci31sOTOJA2crnvn9frfBcH3rfWU3oN3Q mRvHKp+W/uA+g== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Pavel Begunkov , Gilang Fachrezy , io-uring Mailing List , VNLX Kernel Department , GNU/Weeb Mailing List , Dylan Yudaken , Stefano Garzarella Subject: [PATCH liburing v1] liburing.map: Export `io_uring_{enable_rings,register_restrictions}` Date: Sat, 14 Jan 2023 10:54:05 +0700 Message-Id: <20230114035405.429608-1-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: 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. Closes: https://github.com/axboe/liburing/pull/774 Fixes: https://github.com/axboe/liburing/issues/773 Fixes: https://github.com/facebook/folly/issues/1908 Fixes: d2654b1ac886 ("Add helper to enable rings") Fixes: 25cf9b968a27 ("Add helper to register restrictions") Cc: Dylan Yudaken Cc: Stefano Garzarella Signed-off-by: Ammar Faizi --- src/liburing.map | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/liburing.map b/src/liburing.map index 67aebae..1dbe765 100644 --- a/src/liburing.map +++ b/src/liburing.map @@ -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 -- Ammar Faizi