On Thu, May 22, 2014 at 07:15:39PM +0530, Zubin Mithra wrote: > On Thu, May 22, 2014 at 7:12 PM, Fiedler Roman <roman.fied...@ait.ac.at>wrote: > > > > Von: Zubin Mithra [mailto:zubin.mit...@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. > > Thank you, I will look into that. > I also just realised that I should look at the "dup"-like calls.
openat is similar to open. -- ldv
pgpZIu1g7Wn_i.pgp
Description: PGP signature
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel