dlerror sets errno to ENOSYS

2016-02-27 Thread Diego Nieto Cid
Hi I found a strange behaviour in `dlerror` with regard to errno. When the function is called, it returns the correct error message but sets errno to ENOSYS. Thus, future usages of errno don't reflect the real reason why the previous call to `dlopen` failed. A little test case for this quirk is

[PATCH] libddekit: support new-style interrupt notifications

2016-02-27 Thread Justus Winter
* libddekit/interrupt.c (irq_server): If a message with a valid reply port arrives, deallocate that instead of calling 'device_intr_enable' to re-enable the interrupt. --- libddekit/interrupt.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libddekit/interrupt.c b/libddek

Re: [PATCH gnumach 1/2] i386: add parts of cpu.h from x15

2016-02-27 Thread Samuel Thibault
Justus Winter, on Sun 28 Feb 2016 00:33:21 +0100, wrote: > * i386/Makefrag.am (libkernel_a_SOURCES): Add new file. > * i386/i386/cpu.h: New file. Ack, thanks. > --- > i386/Makefrag.am | 1 + > i386/i386/cpu.h | 110 > +++ > 2 files changed,

[PATCH gnumach 1/2] i386: add parts of cpu.h from x15

2016-02-27 Thread Justus Winter
* i386/Makefrag.am (libkernel_a_SOURCES): Add new file. * i386/i386/cpu.h: New file. --- i386/Makefrag.am | 1 + i386/i386/cpu.h | 110 +++ 2 files changed, 111 insertions(+) create mode 100644 i386/i386/cpu.h diff --git a/i386/Makefrag.am b

Rework of the userspace interrupt handling patch

2016-02-27 Thread Justus Winter
Hello, I revised the patch that is delegating interrupts to userspace. Notable changes: 1/ We now use proper dead-name notifications to detect that the send right we use to send notifications goes stale, i.e. the userspace server dies. 2/ 'device_intr_enable' is a nop now... 3/ ... instead the

[PATCH gnumach 2/2] 70_new_dde.patch

2016-02-27 Thread Justus Winter
--- Makefrag.am | 9 ++ device/ds_routines.c | 27 device/interrupt.h | 34 device/intr.c| 341 +++ include/device/intr.h| 18 +++ include/mach/experimental.defs | 9