[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add support to send file descriptors over Unix sockets
From: |
Roland McGrath |
Subject: |
Re: [PATCH] Add support to send file descriptors over Unix sockets |
Date: |
Tue, 3 Aug 2010 13:47:05 -0700 (PDT) |
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 you.
Thanks,
Roland