subproc: check for __NR_clone3

pull/747/head
nick black 4 years ago
parent 419dc1efb6
commit dda6d2f596
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -11,8 +11,7 @@
#include <linux/wait.h>
#include <asm/unistd.h>
#include <linux/sched.h>
#ifndef CLONE_CLEAR_SIGHAND // FIXME introduced in linux 5.5
#define CLONE_CLEAR_SIGHAND 0x100000000ULL
#if (defined(__NR_clone3) && defined(P_PIDFD) && defined(CLONE_CLEAR_SIGHAND))
#endif
#define USING_PIDFD
#endif

Loading…
Cancel
Save