On Mon, Dec 20, 2010 at 06:39:21PM +0100, Dhaval Giani wrote:
> On Mon, Dec 20, 2010 at 6:09 PM, Torben Hohn <torb...@gmx.de> wrote:
> > Signed-off-by: Torben Hohn <torb...@gmx.de>
> 
> I really need a changelog justifying it. I do not see why a simple
> 
> namespace {
> cpu = /;
> }
> 
> cannot be added.

i dont know. 
man cgrules.conf | grep namespace 

gives excactly nothing. 

i can confirm that it works though. forget this patch then.

> 
> Dhaval
> 
> > ---
> >  src/config.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/config.c b/src/config.c
> > index 014b2b3..c9bf866 100644
> > --- a/src/config.c
> > +++ b/src/config.c
> > @@ -683,7 +683,7 @@ int cgroup_config_load_config(const char *pathname)
> >         * The configuration should have either namespace or mount.
> >         * Not both and not none.
> >         */
> > -       if (namespace_enabled == mount_enabled) {
> > +       if (namespace_enabled && mount_enabled) {
> >                free(config_cgroup_table);
> >                return ECGMOUNTNAMESPACE;
> >        }
> > --
> > 1.7.2.3
> >
> >
> > ------------------------------------------------------------------------------
> > Lotusphere 2011
> > Register now for Lotusphere 2011 and learn how
> > to connect the dots, take your collaborative environment
> > to the next level, and enter the era of Social Business.
> > http://p.sf.net/sfu/lotusphere-d2d
> > _______________________________________________
> > Libcg-devel mailing list
> > Libcg-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/libcg-devel
> >

-- 
torben Hohn

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to