From: Alex Lyashkov (shadow_at_psoft.net)
Date: Fri 06 Feb 2004 - 17:59:17 GMT
On Friday 06 February 2004 19:55, Enrico Scholz wrote:
> shadow_at_psoft.net (Alex Lyashkov) writes:
> >> And chmod obviously fails. Proper fix should probably check exact
> >> inode of /vservers/ dir and protect only this one particular inode.
> > Proper fix - use separated disknamespace for each vserver.
> Do you have working code for that? I already tried
> | mount("/vservers/X", "/", "", MS_BIND|MS_REC, "")
> in a static linked binary within /vservers/X and an own namespace. The
> syscall succeeds, but I have still the old '/' :(
Yes. FreeVPS have over half year this code.
i post to this list simple procedure change namespace, but answer Herbert -
it`s not vserver way.
From: Alex Lyashkov <shadow_at_psoft.net>
Organization: Positive Software Corporation
Subject: Re: [vserver] /proc/mounts
Date: Thu, 14 Aug 2003 20:34:31 +0300
-- With best regards, Alex _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver