use vc_get_insecureflags() on '--secure' option
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 7 Sep 2004 20:37:37 +0000 (20:37 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 7 Sep 2004 20:37:37 +0000 (20:37 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1690 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/src/vattribute.c

index 8a294d2..d3e17d7 100644 (file)
@@ -145,6 +145,9 @@ parseSecure(struct vc_ctx_flags UNUSED * flags,
   caps->cmask = ~0ull;
   caps->bcaps = ~vc_get_insecurebcaps();
   caps->bmask = ~0ull;
+
+  flags->flagword = ~vc_get_insecureflags();
+  flags->mask     =  vc_get_insecureflags();
 }
 
 int main(int argc, char *argv[])