AW: System calls that return file descriptors

Fiedler Roman Roman.Fiedler at ait.ac.at
Thu May 22 13:42:16 UTC 2014


> Von: Zubin Mithra [mailto:zubin.mithra at gmail.com]
>
> Hey everyone,
>
> I just had a look around for system calls that return file descriptors on a
> couple of docs[1][2][3] and the ones I could find are `sys_creat` and
> `sys_open`(not looking at the ones that return socket fds right now).

There is a receive call, that allows to forward open file descriptors between 
processes. I do not known, if you call those received fds "socket fds", since 
they could be any (unresolvable) fd -- unless you poke into /proc for more 
information.

....

Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6344 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140522/4b2fdfe8/attachment.bin>


More information about the Strace-devel mailing list