--- vserver-0.20/chcontext.cc Thu Aug 8 17:31:32 2002 +++ vserver-0.20a/chcontext.cc Mon Sep 23 01:39:41 2002 @@ -62,6 +62,8 @@ "\tlock: The new process is trapped and can't use chcontext anymore.\n" "\tsched: The new process and its children will share a common \n" " execution priority.\n" + "\tmem: The new process and its children will share \n" + " a memory limit.\n" "\tnproc: Limit the number of process in the vserver according to\n" " ulimit setting. Normally, ulimit is a per user thing.\n" " With this flag, it becomes a per vserver thing.\n" @@ -134,6 +136,8 @@ flags |= 16; }else if (strcmp(opt,"hideinfo")==0){ flags |= 32; + }else if (strcmp(opt,"mem")==0){ + flags |= 64; }else{ fprintf (stderr,"Unknown flag %s\n",opt); }