6 /* compatibiliy vserver commands */
8 #define VCMD_new_s_context VC_CMD(COMPAT, 1, 1)
9 #define VCMD_set_ipv4root VC_CMD(COMPAT, 2, 3)
11 #define VCMD_create_context VC_CMD(VSETUP, 1, 0)
13 /* compatibiliy vserver arguments */
15 struct vcmd_new_s_context_v1 {
20 struct vcmd_set_ipv4root_v3 {
21 /* number of pairs in id */
26 } nx_mask_pair[NB_IPV4ROOT];
30 #define VX_INFO_LOCK 1 /* Can't request a new vx_id */
31 #define VX_INFO_NPROC 4 /* Limit number of processes in a context */
32 #define VX_INFO_PRIVATE 8 /* Noone can join this security context */
33 #define VX_INFO_INIT 16 /* This process wants to become the */
34 /* logical process 1 of the security */
36 #define VX_INFO_HIDEINFO 32 /* Hide some information in /proc */
37 #define VX_INFO_ULIMIT 64 /* Use ulimit of the current process */
38 /* to become the global limits */
40 #define VX_INFO_NAMESPACE 128 /* save private namespace */
43 #define NB_S_CONTEXT 16
45 #define NB_IPV4ROOT 16
49 extern int vc_new_s_context(uint32_t, void __user *);
50 extern int vc_set_ipv4root(uint32_t, void __user *);
52 #endif /* __KERNEL__ */
53 #endif /* _VX_LEGACY_H */