[lkml]   [2000]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question about I_SENDFD
On Thu, 7 Sep 2000, Andrey G. Kaplanov wrote:

> For instance, following command writes transDsc descriptor to the
> stream streamDsc.
> int ret = ioctl(streamDsc, I_SENDFD, transDsc);

> On Red Hat Linux kernel 2.2.16 ret is -1, errno is 22 - Invalid argument.

Implementing this ioctl for Linux should be trivial as...

> That is here done not so, or be other ways of transmission of file
> descriptor between processes?

... Unix sockets allow passing of fds as ancilliary data. See the
unix(7) manpage for details.


PGP public key available from
Fingerprint: 10 62 F6 F5 C0 5D 9E D8 47 05 1B 8A 22 E5 4E C1
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.035 / U:3.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site