updated VC_VXF_* constants
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 6 Apr 2004 08:41:56 +0000 (08:41 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 6 Apr 2004 08:41:56 +0000 (08:41 +0000)
added VC_VXC_* constants

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1421 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib/vserver.h

index 57946fb..53e7481 100644 (file)
 
 // the flags
 #define VC_VXF_INFO_LOCK               0x00000001
-#define VC_VXF_INFO_NPROC              0x00000002
-#define VC_VXF_INFO_PRIVATE            0x00000004
-#define VC_VXF_INFO_INIT               0x00000008
+#define VC_VXF_INFO_NPROC              0x00000004
+#define VC_VXF_INFO_PRIVATE            0x00000008
+#define VC_VXF_INFO_INIT               0x00000010
 
-#define VC_VXF_INFO_HIDE               0x00000010
-#define VC_VXF_INFO_ULIMIT             0x00000020
-#define VC_VXF_INFO_NSPACE             0x00000040
+#define VC_VXF_INFO_HIDEINFO           0x00000020
+#define VC_VXF_INFO_ULIMIT             0x00000040
+#define VC_VXF_INFO_NAMESPACE          0x00000080
 
 #define        VC_VXF_SCHED_HARD               0x00000100
 #define        VC_VXF_SCHED_PRIO               0x00000200
 
 #define VC_VXF_VIRT_MEM                        0x00010000
 #define VC_VXF_VIRT_UPTIME             0x00020000
+#define VC_VXF_VIRT_CPU                        0x00040000
+
+#define VC_VXF_HIDE_MOUNT              0x01000000
+#define VC_VXF_HIDE_NETIF              0x02000000
 
 #define        VC_VXF_STATE_SETUP              (1ULL<<32)
 #define        VC_VXF_STATE_INIT               (1ULL<<33)
 
+// the ccapabilities
+#define VC_VXC_SET_UTSNAME             0x00000001
+#define VC_VXC_SET_RLIMIT              0x00000002
+
+#define VC_VXC_ICMP_PING               0x00000100
+
+#define VC_VXC_SECURE_MOUNT            0x00010000
+
 
 /** \defgroup  syscalls Syscall wrappers
  *  Functions which are calling the vserver syscall directly. */