missing_sched: add CLONE_PIDFD

CLONE_PIDFD was introduced in v5.2 and in sched.h in glibc-2.31 so
without this, building with older version fails with:

src/basic/raw-clone.h:41:108: error: 'CLONE_PIDFD' undeclared (first use in this function); did you mean 'CLONE_FILES'?
This commit is contained in:
Michael Olbrich
2025-02-10 00:43:53 +09:00
committed by Yu Watanabe
parent aaa274ed7f
commit e91c5cf06a
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@
#include "log.h"
#include "macro.h"
#include "missing_sched.h"
#include "process-util.h"
/**