[PATCH v2 01/15] linux: Add pidfd_open
Matheus Castanho
msc@linux.ibm.com
Wed Jun 1 18:02:24 GMT 2022
Hi Adhemerval,
Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org> writes:
> This was added on Linux 5.3 (32fcb426ec001cb6d5a4a195091a8486ea77e2df)
> as a way to retrieve a pid file descriptors for process that has not
> been created CLONE_PIDFD (by usual fork/clone).
> ---
[...]
> create mode 100644 sysdeps/unix/sysv/linux/tst-pidfd-consts.py
This new test fails on systems with older kernels (e.g. Debian 10 -
kernel 4.19). Looks like linux/pidfd.h is not available on such systems,
so list_macros fails when trying to compile source_2.
FAIL: misc/tst-pidfd-consts
original exit status 1
/tmp/tmp5g72cxka/test.c:2:10: fatal error: linux/pidfd.h: No such file or directory
#include <linux/pidfd.h>
^~~~~~~~~~~~~~~
compilation terminated.
--
Matheus Castanho
More information about the Libc-alpha
mailing list