<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Khem,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Did you fetch the latest branch of LTP? if not, can you try with that?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I guess this was duplicated with another fix(merged).</div><div class="gmail_default" style="font-size:small"><a href="https://github.com/linux-test-project/ltp/commit/dbc9c14c92a5acf450d07868a735ac8cd6ec5b90" target="_blank">https://github.com/linux-test-project/ltp/commit/dbc9c14c92a5acf450d07868a735ac8cd6ec5b90</a><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">and patch2/2 similar to:</div><div class="gmail_default" style="font-size:small"><a href="https://github.com/linux-test-project/ltp/commit/b857f8723f30a4b9554bf6b0ff8fa52fd07e8b60" target="_blank">https://github.com/linux-test-project/ltp/commit/b857f8723f30a4b9554bf6b0ff8fa52fd07e8b60<br></a></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 16, 2022 at 1:16 PM Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Use it to include newly added sys/pidfd.h in glibc 2.36+<br>
<br>
Signed-off-by: Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>><br>
---<br>
 <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>         | 1 +<br>
 include/lapi/pidfd.h | 4 ++++<br>
 2 files changed, 5 insertions(+)<br>
<br>
diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
index 81cba98c2..a0123f166 100644<br>
--- a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
+++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
@@ -71,6 +71,7 @@ AC_CHECK_HEADERS_ONCE([ \<br>
     sys/epoll.h \<br>
     sys/fanotify.h \<br>
     sys/inotify.h \<br>
+    sys/pidfd.h \<br>
     sys/prctl.h \<br>
     sys/shm.h \<br>
     sys/timerfd.h \<br>
diff --git a/include/lapi/pidfd.h b/include/lapi/pidfd.h<br>
index 244d3acaf..d29a2b274 100644<br>
--- a/include/lapi/pidfd.h<br>
+++ b/include/lapi/pidfd.h<br>
@@ -15,6 +15,10 @@<br>
 #define PIDFD_NONBLOCK O_NONBLOCK<br>
 #endif<br>
<br>
+#ifdef HAVE_SYS_PIDFD_H<br>
+#include <sys/pidfd.h><br>
+#endif<br>
+<br>
 static inline void pidfd_send_signal_supported(void)<br>
 {<br>
        /* allow the tests to fail early */<br>
-- <br>
2.37.2<br>
<br>
<br>
-- <br>
Mailing list info: <a href="https://lists.linux.it/listinfo/ltp" rel="noreferrer" target="_blank">https://lists.linux.it/listinfo/ltp</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div>