Re: [uml-devel] [PATCH] Make hostfs_setattr() support operations on closed files.

2007-04-26 Thread Alberto Bertogli
On Wed, Apr 25, 2007 at 05:51:10PM +0200, Blaisorblade wrote: On martedì 24 aprile 2007, Alberto Bertogli wrote: This patch allows hostfs_setattr() to work on closed files by calling set_attr() (the userspace part) with the inode's fd. Without this, applications that depend on doing

Re: [uml-devel] [PATCH] Make hostfs_setattr() support operations on closed files.

2007-04-26 Thread Alberto Bertogli
On Tue, Apr 24, 2007 at 11:26:26AM -0300, Alberto Bertogli wrote: This patch allows hostfs_setattr() to work on closed files by calling set_attr() (the userspace part) with the inode's fd. [...] fs/hostfs/hostfs.h |4 +- fs/hostfs/hostfs_kern.c | 10 - fs/hostfs

[uml-devel] [PATCH] Make hostfs_setattr() support operations on closed files.

2007-04-24 Thread Alberto Bertogli
() instead of chmod(), fchown() instead of chown()) when an fd is available. Signed-off-by: Alberto Bertogli [EMAIL PROTECTED] --- I hit this using hostfs as my root device and trying to do dpkg-reconfigure locales, which called locale-gen which did something like: fd = open(f1.tmp

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-17 Thread Alberto Bertogli
On Wed, May 17, 2006 at 08:36:40AM +0200, Blaisorblade wrote: On Wednesday 17 May 2006 04:39, Alberto Bertogli wrote: On Tue, May 16, 2006 at 03:12:44PM -0400, Jeff Dike wrote: Here it is. While the patch worked, it was for 2.6.16, and I'm using 2.6.17-rc4, I hope that's not a problem

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64ync-mailboxnext-undeletedenter-commandset editor=vim

2006-05-16 Thread Alberto Bertogli
On Tue, May 16, 2006 at 03:12:44PM -0400, Jeff Dike wrote: On Mon, May 15, 2006 at 12:29:58PM -0300, Alberto Bertogli wrote: Sure, here it is: (gdb) disas stub_segv_handler Sorry, I misread the error message and asked for the wrong thing. Your UML is seeing a process segfault during

[uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-14 Thread Alberto Bertogli
Hi! I'm having some problems building and running UML using vanilla 2.6.17-rc4 under x86-64 with glibc 2.4. First of all, it won't build because lack of definitions for some constants in arch/um/os-Linux/sys-x86_64/registers.c. After some digging, I found that these were defined in public