Could I get the user space fd according to my struct filp?

Grissiom chaos.proton at gmail.com
Fri Sep 13 03:45:06 EDT 2013


Hi all,

If I have done `fd_install(fd, filp)`, could I retrieve the fd with the
filp? I think I could iterate over the fdtable but is there any API to do
that in a more reliable way?

-- 
Cheers,
Grissiom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130913/8114d79b/attachment.html 


More information about the Kernelnewbies mailing list