summaryrefslogtreecommitdiff
path: root/src/sysdeps/trynamespaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trynamespaces.c')
-rw-r--r--src/sysdeps/trynamespaces.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sysdeps/trynamespaces.c b/src/sysdeps/trynamespaces.c
new file mode 100644
index 0000000..01894be
--- /dev/null
+++ b/src/sysdeps/trynamespaces.c
@@ -0,0 +1,12 @@
+/* ISC license. */
+
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
+#include <sched.h>
+
+int main (void)
+{
+ return unshare(0) ;
+}