sock_map_fd()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

While I have been sitting here grappling trying to get a file descriptor
from a sock struct, I realized that sys_socket() calls a function called
sock_map_fd, unfortunatley it is not exported so does anyone know anything
similar, or an *easy* way to implement this? I tried replicating it, but
unfortunatly many of the functions called also are not exported.


J.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux