From: Jérémie Galarneau Date: Thu, 24 Oct 2019 21:06:17 +0000 (-0400) Subject: Tests: namespace tests fail to build on older libc X-Git-Tag: v2.12.0-rc1~276 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=93d0d1f7ded46987ea752b6fcfe81e3281fc533c;hp=93d0d1f7ded46987ea752b6fcfe81e3281fc533c;p=lttng-tools.git Tests: namespace tests fail to build on older libc The namespace tests fail to build on older libcs that don't define the various namespace clone flags. To circumvent this problem, local definitions from Linux's sched.h are added. The kernel's support of the various namespaces is tested by the test runner. Hence, it is not a problem to build these test application against a kernel that isn't configured to support (some of) those namespaces; the applications are not invoked for unsupported namespaces. Acked-by: Michael Jeanson Signed-off-by: Jérémie Galarneau ---