System calls that return file descriptors
zubin.mithra at gmail.com
Thu May 22 13:45:39 UTC 2014
On Thu, May 22, 2014 at 7:12 PM, Fiedler Roman <Roman.Fiedler at ait.ac.at>wrote:
> > 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 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
> processes. I do not known, if you call those received fds "socket fds",
> they could be any (unresolvable) fd -- unless you poke into /proc for more
Thank you, I will look into that.
I also just realised that I should look at the "dup"-like calls.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Strace-devel