diff -NurpPw --minimal util-vserver-0.29/src/chcontext.c util-vserver-0.29-proc-access/src/chcontext.c --- util-vserver-0.29/src/chcontext.c 2004-01-07 17:24:01.000000000 +0100 +++ util-vserver-0.29-proc-access/src/chcontext.c 2004-11-01 16:52:18.964881640 +0100 @@ -94,6 +94,7 @@ static void usage() " With this flag, it becomes a per vserver thing.\n" "\tprivate: No one can join this security context once created.\n" "\tulimit: Apply the current ulimit to the whole context\n" + "\tprocaccess: Allow the context to mess with the procfs\n" "--hostname new_hostname\n" "\tSet the hostname in the new security context\n" @@ -168,6 +169,8 @@ int main (int argc, char *argv[]) flags |= 32; }else if (strcmp(opt,"ulimit")==0){ flags |= 64; + }else if (strcmp(opt,"procaccess")==0){ + flags |= 128; }else{ fprintf (stderr,"Unknown flag %s\n",opt); }