diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-23 08:52:28 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-23 08:52:28 +0000 |
commit | 3c8d5a7ca791a847112633c5778badfeb14bf4e8 (patch) | |
tree | 1c639c9814f8e78bc1e812df267612937265f775 /src/sysdeps/trynamespaces.c | |
parent | 3af45453ce8370a6a9ba974c8150cb492f1d4b22 (diff) | |
download | skalibs-3c8d5a7ca791a847112633c5778badfeb14bf4e8.tar.xz |
Change xexecvep exit codes ; add namespaces sysdep
Diffstat (limited to 'src/sysdeps/trynamespaces.c')
-rw-r--r-- | src/sysdeps/trynamespaces.c | 12 |
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) ; +} |