From 83531cd3f60289e9be86342ef63a40ac2e1b3bc9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 28 Aug 2017 08:00:43 +0000 Subject: Add nsgetparent sysdep --- src/sysdeps/trynsgetparent.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/sysdeps/trynsgetparent.c (limited to 'src/sysdeps') diff --git a/src/sysdeps/trynsgetparent.c b/src/sysdeps/trynsgetparent.c new file mode 100644 index 0000000..393a9a7 --- /dev/null +++ b/src/sysdeps/trynsgetparent.c @@ -0,0 +1,12 @@ +/* ISC license. */ + +#undef _POSIX_C_SOURCE +#undef _XOPEN_SOURCE + +#include +#include + +int main (void) +{ + return ioctl(0, NS_GET_PARENT) ; +} -- cgit v1.2.3