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

Grissiom chaos.proton at
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?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list