commit | b4b6d4a02fa8aa8187d426b508fb7f3b69df0dcc | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Wed Jan 02 15:54:55 2019 +0000 |
committer | Andrew Scull <ascull@google.com> | Wed Jan 02 15:54:55 2019 +0000 |
tree | fdf4498bc30cb80757eaf20b46ea866b23141a93 |
v4.19.13 snapshot.
diff --git a/tools/build/feature/test-setns.c b/tools/build/feature/test-setns.c new file mode 100644 index 0000000..1f714d2 --- /dev/null +++ b/tools/build/feature/test-setns.c
@@ -0,0 +1,7 @@ +#define _GNU_SOURCE +#include <sched.h> + +int main(void) +{ + return setns(0, 0); +}