View about passing IPC pointer to the child process from a prent process.

pavan teja bharghav2947 at gmail.com
Fri Mar 11 09:37:36 UTC 2016


Hello everyone,
                     I'm right now designing my project  idea now I'm
confused with a major idea which was implemented differently in different
IPC meachanisms.
                       Should a child process be allowed to share a IPC
file descriptor from a parent process.Obviously it would be shared since
file descriptores passed down.But what if the IPC mechanism puts a
restriction on it .That even though it acquired the file descriptor it
cannot participate with the file descriptor created by parent rather it
shuld make its own connection to the IPC module . Please lemme the pros and
cons of the above mechanism.
                            Thank You.


More information about the freebsd-hackers mailing list