linux: Use compile_c_snippet to check linux/pidfd.h availability
commit1542019b69b7ec7b2cd34357af035e406d153631
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 10 Aug 2022 17:24:44 +0000 (10 14:24 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 12 Aug 2022 12:15:11 +0000 (12 09:15 -0300)
tree5ac9764f66ccb72ebf55c75df24dac405de46e70
parent841afa116e32b3c7195475769c26bf46fd870d32
linux: Use compile_c_snippet to check linux/pidfd.h availability

Instead of tying to a specific kernel version.

Checked on x86_64-linux-gnu.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
sysdeps/unix/sysv/linux/tst-pidfd-consts.py