send file descriptor via ipc

Yan Yu yanyu at CS.UCLA.EDU
Sat Feb 26 08:58:23 GMT 2005


Hello, there,
  I am looking for the function that handle send/recv file descriptors
through sendmsg/recvmsg?
by looking through source files,
unp_internalize/unp_externalize in kern/uipc-usrreq.c seems relevant..

but i am not sure since i could not guess the meaning of the function
name..  (btw, what is "unp", the prefix in the function name stands for?)
Can someone please confirm if it is the right function or point
me to the right one i should look at?

many thanks,
yan


More information about the freebsd-hackers mailing list