* Re: [uml-devel] [uml-user] [PATCH] uml hostfs: fix interaction between hostfs=path1 and -o path2 at mount time (was: Re: hostfs kernel parameter fail?) [not found] ` <20070304165030.GB6516@localhost.localdomain> @ 2007-03-04 18:50 ` Blaisorblade 2007-03-04 22:53 ` [uml-devel] [uml-user] [PATCH] uml hostfs: fix interaction between hostfs=path1 and -o path2 at mount time Antoine Martin 0 siblings, 1 reply; 3+ messages in thread From: Blaisorblade @ 2007-03-04 18:50 UTC (permalink / raw) To: Sylvain Beucler, Antoine Martin, Christopher Aker, user-mode-linux-devel Cc: Jeff Dike On Sunday 04 March 2007 17:50, Sylvain Beucler wrote: > On Sat, Mar 03, 2007 at 07:32:46PM +0100, Blaisorblade wrote: > Hi, > > I tested and it works. > > Thanks, You'll probably also see that -o .. allows bypassing the 'hostfs jail', and I've just implemented a fix to that. The question is whether this should be merged. Indeed, the root user inside UML can bypass that anyway, if he modifies the hostfs module, compiles and loads it. So the host admin really needs to run UML in a chroot if he needs real security. What do you all think? -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] [uml-user] [PATCH] uml hostfs: fix interaction between hostfs=path1 and -o path2 at mount time 2007-03-04 18:50 ` [uml-devel] [uml-user] [PATCH] uml hostfs: fix interaction between hostfs=path1 and -o path2 at mount time (was: Re: hostfs kernel parameter fail?) Blaisorblade @ 2007-03-04 22:53 ` Antoine Martin 2007-03-05 18:29 ` Blaisorblade 0 siblings, 1 reply; 3+ messages in thread From: Antoine Martin @ 2007-03-04 22:53 UTC (permalink / raw) To: Blaisorblade Cc: Jeff Dike, Sylvain Beucler, user-mode-linux-devel, Christopher Aker Blaisorblade wrote: > On Sunday 04 March 2007 17:50, Sylvain Beucler wrote: >> On Sat, Mar 03, 2007 at 07:32:46PM +0100, Blaisorblade wrote: >> Hi, >> >> I tested and it works. >> >> Thanks, > > You'll probably also see that -o .. allows bypassing the 'hostfs jail', and > I've just implemented a fix to that. The question is whether this should be > merged. > > Indeed, the root user inside UML can bypass that anyway, if he modifies the > hostfs module, compiles and loads it. If security is at stake then the host admin should use non-modular kernels to prevent such tampering. > So the host admin really needs to run > UML in a chroot if he needs real security. chroot isn't totally foolproof (see chroot-again issue), but when chrooting + changing user (like compartment does), it should be pretty safe. Antoine ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] [uml-user] [PATCH] uml hostfs: fix interaction between hostfs=path1 and -o path2 at mount time 2007-03-04 22:53 ` [uml-devel] [uml-user] [PATCH] uml hostfs: fix interaction between hostfs=path1 and -o path2 at mount time Antoine Martin @ 2007-03-05 18:29 ` Blaisorblade 0 siblings, 0 replies; 3+ messages in thread From: Blaisorblade @ 2007-03-05 18:29 UTC (permalink / raw) To: Antoine Martin Cc: Jeff Dike, Sylvain Beucler, user-mode-linux-devel, Christopher Aker On Sunday 04 March 2007 23:53, Antoine Martin wrote: > Blaisorblade wrote: > > On Sunday 04 March 2007 17:50, Sylvain Beucler wrote: > >> On Sat, Mar 03, 2007 at 07:32:46PM +0100, Blaisorblade wrote: > >> Hi, > >> > >> I tested and it works. > >> > >> Thanks, > > > > You'll probably also see that -o .. allows bypassing the 'hostfs jail', > > and I've just implemented a fix to that. The question is whether this > > should be merged. > > > > Indeed, the root user inside UML can bypass that anyway, if he modifies > > the hostfs module, compiles and loads it. > > If security is at stake then the host admin should use non-modular > kernels to prevent such tampering. I know /dev/kmem allows bypassing that, but I don't know of any kmem-insmod out there (and that would make the issue quite practical). -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-05 18:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20070301230442.GA469@localhost.localdomain>
[not found] ` <200703031932.46323.blaisorblade@yahoo.it>
[not found] ` <20070304165030.GB6516@localhost.localdomain>
2007-03-04 18:50 ` [uml-devel] [uml-user] [PATCH] uml hostfs: fix interaction between hostfs=path1 and -o path2 at mount time (was: Re: hostfs kernel parameter fail?) Blaisorblade
2007-03-04 22:53 ` [uml-devel] [uml-user] [PATCH] uml hostfs: fix interaction between hostfs=path1 and -o path2 at mount time Antoine Martin
2007-03-05 18:29 ` Blaisorblade
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox