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 /* compatibiliy vserver arguments */
14 struct vcmd_new_s_context_v1 {
19 struct vcmd_set_ipv4root_v3 {
20 /* number of pairs in id */
25 } ip_mask_pair[NB_IPV4ROOT];
29 #define VX_INFO_LOCK 1 /* Can't request a new vx_id */
30 #define VX_INFO_NPROC 4 /* Limit number of processes in a context */
31 #define VX_INFO_PRIVATE 8 /* Noone can join this security context */
32 #define VX_INFO_INIT 16 /* This process wants to become the */
33 /* logical process 1 of the security */
35 #define VX_INFO_HIDEINFO 32 /* Hide some information in /proc */
36 #define VX_INFO_ULIMIT 64 /* Use ulimit of the current process */
37 /* to become the global limits */
39 #define VX_INFO_NAMESPACE 128 /* save private namespace */
42 #define NB_S_CONTEXT 16
44 #define NB_IPV4ROOT 16
48 extern int vc_new_s_context(uint32_t, void __user *);
49 extern int vc_set_ipv4root(uint32_t, void __user *);
51 #endif /* __KERNEL__ */
52 #endif /* _VX_LEGACY_H */