Re: [PATCH hurd 27/30] hurd: add intranpayload functions to all hurd types

2014-12-12 Thread Samuel Thibault
Justus Winter, le Fri 12 Dec 2014 10:21:43 +0100, a écrit : > Hm. Maybe we can check whether we're building server stubs, and only > apply the payload magic then. Gnumach does something similar with the > KERNEL_SERVER macro. Indeed, we could simply do: > > diff --git a/Makeconf b/Makeconf > in

Re: [PATCH hurd 27/30] hurd: add intranpayload functions to all hurd types

2014-12-12 Thread Justus Winter
Quoting Samuel Thibault (2014-12-12 01:08:44) > Justus Winter, le Thu 27 Nov 2014 14:19:07 +0100, a écrit : > > +#ifdef HURD_DEFAULT_PAYLOAD_TO_PORT > > +#if HURD_DEFAULT_PAYLOAD_TO_PORT > > +/* Any non-numeric value will fail this test. If 1 (or any number) is > > + given, do not inject the def

Re: [PATCH hurd 27/30] hurd: add intranpayload functions to all hurd types

2014-12-11 Thread Samuel Thibault
Justus Winter, le Thu 27 Nov 2014 14:19:07 +0100, a écrit : > +#ifdef HURD_DEFAULT_PAYLOAD_TO_PORT > +#if HURD_DEFAULT_PAYLOAD_TO_PORT > +/* Any non-numeric value will fail this test. If 1 (or any number) is > + given, do not inject the default translator function. */ > +#undef HURD_DEFAULT_PAY

Re: [PATCH hurd 27/30] hurd: add intranpayload functions to all hurd types

2014-12-08 Thread Samuel Thibault
David Michael, le Mon 08 Dec 2014 13:45:50 -0500, a écrit : > On Thu, Nov 27, 2014 at 8:19 AM, Justus Winter > <4win...@informatik.uni-hamburg.de> wrote: > > +#ifdef HURD_DEFAULT_PAYLOAD_TO_PORT > > +#if HURD_DEFAULT_PAYLOAD_TO_PORT > > +/* Any non-numeric value will fail this test. If 1 (or any n

Re: [PATCH hurd 27/30] hurd: add intranpayload functions to all hurd types

2014-12-08 Thread David Michael
Hi, On Thu, Nov 27, 2014 at 8:19 AM, Justus Winter <4win...@informatik.uni-hamburg.de> wrote: > +#ifdef HURD_DEFAULT_PAYLOAD_TO_PORT > +#if HURD_DEFAULT_PAYLOAD_TO_PORT > +/* Any non-numeric value will fail this test. If 1 (or any number) is > + given, do not inject the default translator funct

Re: [PATCH hurd 27/30] hurd: add intranpayload functions to all hurd types

2014-12-01 Thread Samuel Thibault
Justus Winter, le Thu 27 Nov 2014 14:19:07 +0100, a écrit : > For each hurd type defined in hurd_types.h, add a intranpayload > function. If an X_INTRAN mutation is defined for a type, a > corresponding X_INTRAN_PAYLOAD has to be defined. If no X_INTRAN > mutation is defined, use ports_payload_ge

[PATCH hurd 27/30] hurd: add intranpayload functions to all hurd types

2014-11-27 Thread Justus Winter
For each hurd type defined in hurd_types.h, add a intranpayload function. If an X_INTRAN mutation is defined for a type, a corresponding X_INTRAN_PAYLOAD has to be defined. If no X_INTRAN mutation is defined, use ports_payload_get_name as intranpayload function, turning the payload back into an p