Re: [PATCH] Add support to send file descriptors over Unix sockets

2010-10-05 Thread Samuel Thibault
Emilio Pozuelo Monfort, le Tue 05 Oct 2010 12:24:35 +0200, a écrit : > On 05/10/10 01:00, Samuel Thibault wrote: > > Emilio, any update on this patch according to Fredrik's comments? > > I could easily add it as a patch in Debian's libc. > > I already updated it, see 4c62d794@gmail.com Ah, so

Re: [PATCH] Add support to send file descriptors over Unix sockets

2010-10-05 Thread Emilio Pozuelo Monfort
Hi, On 05/10/10 01:00, Samuel Thibault wrote: > Emilio, any update on this patch according to Fredrik's comments? > I could easily add it as a patch in Debian's libc. I already updated it, see 4c62d794@gmail.com I've tried it again with Manuel Menal's fix and my testcase works, although the

Re: [PATCH] Add support to send file descriptors over Unix sockets

2010-10-04 Thread Samuel Thibault
Emilio, any update on this patch according to Fredrik's comments? I could easily add it as a patch in Debian's libc. Samuel

Re: [PATCH] Add support to send file descriptors over Unix sockets

2010-08-13 Thread olafBuddenhagen
Hi, On Wed, Aug 11, 2010 at 07:02:12PM +0200, Emilio Pozuelo Monfort wrote: > On 01/08/10 21:02, Carl Fredrik Hammar wrote: > > Another thing that crossed my mind is what'll happen if SCM_CREDS is > > also sent in the future? Because it also involves port, your code will > > fail because of the

Re: [PATCH] Add support to send file descriptors over Unix sockets

2010-08-11 Thread Emilio Pozuelo Monfort
o, don't forget to comment tricky requirements like this. Sorry, I don't understand what you mean here. Regards, Emilio >From 1b911148009f696717da0b676d6d10af85d5aefb Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Sat, 17 Jul 2010 22:09:13 +0200 Subject:

Re: [PATCH] Add support to send file descriptors over Unix sockets

2010-08-03 Thread Roland McGrath
In the Hurd, nothing implicitly changes what your controlling tty is. Only TIOCSCTTY does that (see libc/hurd/hurdioctl.c). However, any fd you receive in any fashion might be an fd to your controlling tty, so you have to discover and then treat it as such. _hurd_intern_fd takes care of this for y

Re: [PATCH] Add support to send file descriptors over Unix sockets

2010-08-01 Thread Samuel Thibault
Carl Fredrik Hammar, le Sun 01 Aug 2010 21:02:57 +0200, a écrit : > What about CTTYs? To be honest, I don't know much about them myself. > They sound like something very process specific so I don't *think* we need > to transfer anything, but do we need to set them to something on receive? > I don'

Re: [PATCH] Add support to send file descriptors over Unix sockets

2010-08-01 Thread Carl Fredrik Hammar
Hi, On Tue, Jul 27, 2010 at 08:08:36PM +0200, Emilio Pozuelo Monfort wrote: > > This patch adds support for SCM_RIGHTS to glibc. It works fine > when sending file descriptors from a socket() or a socketpair() call, > but not from e.g. an open() call, as I've mentioned in another mail. > That's no

[PATCH] Add support to send file descriptors over Unix sockets

2010-07-27 Thread Emilio Pozuelo Monfort
#if set to 1 (i.e. sending socket fds). Regards, Emilio >From bd70862e18ba6c2a404917bffef72de367a3b132 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Sat, 17 Jul 2010 22:09:13 +0200 Subject: [PATCH] Add support to send file descriptors over Unix sockets --- sysdeps/mach/hurd/rec