Skip to contentSkip to conversation

util-linux: Define pidfd_* function signatures

PATCH New Martin Jansa 1 participant 1 message Oct 27, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 util-linux: Define pidfd_* function signatures

From: Khem Raj <[email protected]>

glibc 2.36 has added sys/pidfd.h and APIs for
pidfd_send_signal and pidfd_open, therefore check
for this header and include it if it exists

---
 meta/recipes-core/util-linux/util-linux.inc   |  1 +
 .../0001-check-for-sys-pidfd.h.patch          | 50 +++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 meta/recipes-core/util-linux/util-linux/0001-check-for-sys-pidfd.h.patch
meta/recipes-core/util-linux/util-linux.inc +1 -0
index f8841e6be0..b9172230e7 100644
@@ -35,6 +35,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
            file://run-ptest \
            file://display_testname_for_subtest.patch \
            file://avoid_parallel_tests.patch \
+           file://0001-check-for-sys-pidfd.h.patch \
            file://CVE-2024-28085-0001.patch \
            file://CVE-2024-28085-0002.patch \
            file://CVE-2024-28085-0003.patch \
meta/recipes-core/util-linux/util-linux/0001-check-for-sys-pidfd.h.patch new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
2.47.0