7 /* compatibiliy vserver commands */
9 #define VCMD_new_s_context VC_CMD(COMPAT, 1, 1)
10 #define VCMD_set_ipv4root VC_CMD(COMPAT, 2, 3)
12 #define VCMD_create_context VC_CMD(VSETUP, 1, 0)
14 /* compatibiliy vserver arguments */
16 struct vcmd_new_s_context_v1 {
21 struct vcmd_set_ipv4root_v3 {
22 /* number of pairs in id */
27 } nx_mask_pair[NB_IPV4ROOT];
31 #define VX_INFO_LOCK 1 /* Can't request a new vx_id */
32 #define VX_INFO_NPROC 4 /* Limit number of processes in a context */
33 #define VX_INFO_PRIVATE 8 /* Noone can join this security context */
34 #define VX_INFO_INIT 16 /* This process wants to become the */
35 /* logical process 1 of the security */
37 #define VX_INFO_HIDEINFO 32 /* Hide some information in /proc */
38 #define VX_INFO_ULIMIT 64 /* Use ulimit of the current process */
39 /* to become the global limits */
41 #define VX_INFO_NAMESPACE 128 /* save private namespace */
44 #endif /* _VX_LEGACY_H */