From: Enrico Scholz (enrico.scholz_at_informatik.tu-chemnitz.de)
Date: Fri 06 Feb 2004 - 17:55:14 GMT
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 '/' :(
Enrico
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver