[bug #41907] Opening pipes RW with bash is blocking

2014-03-19 Thread Samuel Thibault
Follow-up Comment #1, bug #41907 (project hurd): I guess nobody thought about that case, and it's probably just bugged. ___ Reply to this item at: ___

Re: [PATCH 2/2] xen: fix error handling

2014-03-19 Thread Samuel Thibault
Justus Winter, le Wed 19 Mar 2014 16:13:13 +0100, a écrit : > Previously, the error KERN_RESOURCE_SHORTAGE was not properly > propagated. > > Found using the Clang Static Analyzer. Ack. > * xen/block.c (device_open): Fix error handling, remove unused label. > * xen/net.c (device_open): Likewise.

Re: [PATCH 1/2] xen: avoid use of uninitialized variable

2014-03-19 Thread Samuel Thibault
Hello, Justus Winter, le Wed 19 Mar 2014 16:13:12 +0100, a écrit : > Found using the Clang Static Analyzer. > > * xen/console.c (hypputc): Initialize variable "complain". This was actually meant to be static, now fixed. Thanks, Samuel > --- > xen/console.c | 2 +- > 1 file changed, 1 insertion

[bug #41907] Opening pipes RW with bash is blocking

2014-03-19 Thread Victor Berger
URL: Summary: Opening pipes RW with bash is blocking Project: The GNU Hurd Submitted by: levans Submitted on: mer. 19 mars 2014 15:32:22 GMT Category: Hurd Servers Seve

[PATCH 2/2] xen: fix error handling

2014-03-19 Thread Justus Winter
Previously, the error KERN_RESOURCE_SHORTAGE was not properly propagated. Found using the Clang Static Analyzer. * xen/block.c (device_open): Fix error handling, remove unused label. * xen/net.c (device_open): Likewise. --- xen/block.c | 5 ++--- xen/net.c | 5 ++--- 2 files changed, 4 inserti

[PATCH 1/2] xen: avoid use of uninitialized variable

2014-03-19 Thread Justus Winter
Found using the Clang Static Analyzer. * xen/console.c (hypputc): Initialize variable "complain". --- xen/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/console.c b/xen/console.c index 884376f..cb330b5 100644 --- a/xen/console.c +++ b/xen/console.c @@ -47,7 +47,

[PATCH 4/4] mach-defpager: replace the magic typecast with a hash table

2014-03-19 Thread Justus Winter
Previously, the mach-defpager used a "magic typecast" for object lookups. It renamed the port to the address of the associated object, and upon receiving a message it would cast the port name back to a pointer. While this might seem like an optimization, it actually makes the port handling in the

[PATCH 2/4] mach-defpager: fix receiver lookups

2014-03-19 Thread Justus Winter
Previously, the receiver lookup was done manually in all the server functions. Use mig translator functions instead. * mach-defpager/mig-decls.h: New file. * mach-defpager/mig-mutate.h: Likewise. * mach-defpager/Makefile (MIGSFLAGS): Include mig-mutate.h. * mach-defpager/mach-defpager.c: Fix rece

[PATCH 3/4] mach-defpager: fix local includes

2014-03-19 Thread Justus Winter
* mach-defpager/default_pager.c: Fix local includes. * mach-defpager/main.c: Likewise. * mach-defpager/setup.c: Likewise. --- mach-defpager/default_pager.c | 8 mach-defpager/main.c | 2 +- mach-defpager/setup.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-)

[PATCH 1/4] hurd: fix receiver type, honor DEFAULT_PAGER_IMPORTS

2014-03-19 Thread Justus Winter
* hurd/default_pager.defs: Honor DEFAULT_PAGER_IMPORTS. (default_pager_object_set_size): Fix receiver type. --- hurd/default_pager.defs | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hurd/default_pager.defs b/hurd/default_pager.defs index 8ad82dc..4885503 100644 --- a/hur

[PATCH] include: make the memory_object_t types translation functions mutable

2014-03-19 Thread Justus Winter
Make the intran, outtran and destructor functions mutable using preprocessor macros. Make it possible to inject imports using the MEMORY_OBJECT_IMPORTS macro. This way, userspace servers can provide their own translation functions. * include/mach/mach_types.defs (memory_object_t): Make the trans

Another round of receiver lookup fixes

2014-03-19 Thread Justus Winter
Hi :) in order to fix the receiver lookups in the Hurd components implementing the pager protocol, I need to extend the memory_object_t definitions in the kernel headers. In a follow-up, I'll send a patch series fixing the receiver lookups in mach-defpager. Cheers, Justus

Re: New installation CDs and qemu image

2014-03-19 Thread Riccardo Mottola
Hi, Riccardo Mottola wrote: I did not.. however what i will try later tonight is to edit mtab and let the system boot without /home and see if it completes boot. some updates. I did the following (in the fresh install). 0) fsck'd / 1) remounted / read-write, edited /etc/fstab and commented ou