missing_syscall: setns is supported by glibc since 2.14

Also, CLONE_PIDFD is defined in sched.h since 2.31.
Now our baseline of glibc is 2.31, hence it is OK to drop our
definition.
This commit is contained in:
Yu Watanabe
2025-03-04 02:24:49 +09:00
parent 96ff465861
commit d322854cac
5 changed files with 2 additions and 95 deletions
+2 -15
View File
@@ -6,21 +6,8 @@
#include "macro.h"
/* 5e2bec7c2248ae27c5b16cd97215ae05c1d39179 (4.6) */
#ifndef CLONE_NEWCGROUP
# define CLONE_NEWCGROUP 0x02000000
#else
assert_cc(CLONE_NEWCGROUP == 0x02000000);
#endif
/* b3e5838252665ee4cfa76b82bdf1198dca81e5be (5.2) */
#ifndef CLONE_PIDFD
# define CLONE_PIDFD 0x00001000
#else
assert_cc(CLONE_PIDFD == 0x00001000);
#endif
/* 769071ac9f20b6a447410c7eaa55d1a5233ef40c (5.8) */
/* 769071ac9f20b6a447410c7eaa55d1a5233ef40c (5.8),
* defined in sched.h since glibc-2.36. */
#ifndef CLONE_NEWTIME
# define CLONE_NEWTIME 0x00000080
#else