CLONE_FS is just for the Linux-VServer syscalls.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 29 Apr 2008 17:47:50 +0000 (17:47 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 29 Apr 2008 17:47:50 +0000 (17:47 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2713 94cd875c-1c1d-0410-91d2-eb244daf1a30

src/vspace.c

index 4c1c64f..202012b 100644 (file)
@@ -114,6 +114,8 @@ newSpaces(uint_least64_t mask, const char *cmd)
   if (mask == 0)
     return;
 
+  mask &= ~CLONE_FS;
+
   signal(SIGCHLD, SIG_DFL);
 
 #ifdef NDEBUG