Re: [uml-devel] hostfs permissions

2005-06-10 Thread Blaisorblade
On Saturday 11 June 2005 02:48, Karl Chen wrote: > > On 2005-06-10 15:26 PDT, Blaisorblade writes: > > Blaisorblade> Ok, in this case there's probably a simpler > Blaisorblade> road: simply use a 2.4.27-1bs kernel. The > Blaisorblade> implemented behaviour is that all created files

Re: [uml-devel] hostfs permissions

2005-06-10 Thread Karl Chen
> On 2005-06-10 15:26 PDT, Blaisorblade writes: Blaisorblade> Ok, in this case there's probably a simpler Blaisorblade> road: simply use a 2.4.27-1bs kernel. The Blaisorblade> implemented behaviour is that all created files Blaisorblade> will have the ID they have on the host,

Re: [uml-devel] hostfs permissions

2005-06-10 Thread Blaisorblade
On Friday 10 June 2005 22:14, Karl Chen wrote: > > On 2005-06-10 09:03 PDT, Blaisorblade writes: > >> Hostfs seems to make everything owned by root -- even files > >> created by non-root users. > > Blaisorblade> So you are running uml as root? > > Blaisorblade> Or you are runni

Re: [uml-devel] hostfs permissions

2005-06-10 Thread Karl Chen
> On 2005-06-10 09:03 PDT, Blaisorblade writes: >> Hostfs seems to make everything owned by root -- even files >> created by non-root users. Blaisorblade> So you are running uml as root? Blaisorblade> Or you are running UML as non-root but with Blaisorblade> hostfs as root

Re: [uml-devel] hostfs permissions

2005-06-10 Thread Blaisorblade
On Friday 10 June 2005 07:34, Karl Chen wrote: > Hi, I'm doing some large-scale security experiments on Debian > security. I'm using UML to do the whole thing on a cluster. > Hostfs seems to make everything owned by root -- even files > created by non-root users. So you are running uml as root?

[uml-devel] [PATCH 3/4] UML - use fork instead of clone

2005-06-10 Thread Jeff Dike
Convert the boot-time host ptrace testing from clone to fork. They were essentially doing fork anyway. This cleans up the code a bit, and makes valgrind a bit happier about grinding it. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.12-rc/arch/um/kernel/process.c

[uml-devel] [PATCH 1/4] UML - Remove duplicate includes

2005-06-10 Thread Jeff Dike
[ Andrew, these four patches are 2.6.12 material ] A few files include the same header twice. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.12-rc/arch/um/kernel/main.c === --- linux-2.6.12-rc.orig/arch/um/kernel/main

[uml-devel] [PATCH 2/4] UML - Build cleanups

2005-06-10 Thread Jeff Dike
Fix a build failure when CONFIG_MODE_SKAS is disabled and make a Makefile comment fit in 80 columns. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.12-rc/arch/um/include/sysdep-i386/ptrace.h === --- linux-2.6.12-rc.ori

[uml-devel] [PATCH 4/4] UML - slirp and slip driver cleanups and fixes

2005-06-10 Thread Jeff Dike
This patch merges a lot of duplicated code in the slip and slirp drivers, abstracts out the slip protocol, and makes the slip driver work in 2.6. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.12-rc/arch/um/drivers/Makefile ==

[Fwd: Re: [uml-devel] 2.6.12-rc6-mm1 patches testing]

2005-06-10 Thread antoine
I thought this could be of interest to all UML devs: (as far as I'm concerned, the /tmp is already in its own space in a chroot so this is not an issue) Forwarded Message > From: Stephen Smalley <[EMAIL PROTECTED]> > To: Blaisorblade <[EMAIL PROTECTED]> > Cc: antoine <[EMAIL PRO