Re: [LEDE-DEV] [PATCH] Allow sending a fd along a ubus_request

2016-12-19 Thread Amine Aouled Hamed
Sorry for the duplicate, for some reasons gmail doesn't show the email as a reply to the first email sent. Amine. On Mon, Dec 19, 2016 at 10:30 AM, amine.ahd wrote: > Signed-off-by: amine.ahd > --- > libubus-internal.h | 4 +++- > libubus-obj.c

[LEDE-DEV] [PATCH] Allow sending a fd along a ubus_request

2016-12-19 Thread amine.ahd
Signed-off-by: amine.ahd --- libubus-internal.h | 4 +++- libubus-obj.c | 24 libubus-req.c | 50 +++--- libubus.c | 2 +- libubus.h | 19 +++ ubusd_proto.c

[LEDE-DEV] [PATCH] Allow sending a fd along a ubus_request

2016-12-16 Thread amine.ahd
Signed-off-by: amine.ahd --- libubus-internal.h | 4 +++- libubus-obj.c | 24 libubus-req.c | 50 +++--- libubus.c | 2 +- libubus.h | 19 +++ ubusd_proto.c

Re: [LEDE-DEV] [PATCH] Allow sending a fd in a ubus_request

2016-12-08 Thread John Crispin
On 08/12/2016 13:47, amine.ahd wrote: > In the current implementation, a fd can be sent in the reply to an existing > request which can be inefficient in certain cases. > Example: when you want to create a pipe between two process with the help of > a 3rd process acting as a manager: you need

[LEDE-DEV] [PATCH] Allow sending a fd in a ubus_request

2016-12-08 Thread amine.ahd
In the current implementation, a fd can be sent in the reply to an existing request which can be inefficient in certain cases. Example: when you want to create a pipe between two process with the help of a 3rd process acting as a manager: you need 3 pipe with the current implementation and only