]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
util-linux: Define pidfd_* function signatures
authorKhem Raj <raj.khem@gmail.com>
Sun, 7 Aug 2022 22:26:12 +0000 (15:26 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Aug 2022 07:20:13 +0000 (08:20 +0100)
commitc72d4ad4d3c41e6bc36e7d7542a42db04b5a2e97
tree6fb8328853cfe528593cf22ce0292d2fcb750bb4
parent71eb15c474d891855a5b18e6835993848ffa7c51
util-linux: Define pidfd_* function signatures

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/util-linux/util-linux.inc
meta/recipes-core/util-linux/util-linux/0001-check-for-sys-pidfd.h.patch [new file with mode: 0644]