Date: Fri, 11 Mar 2016 15:07:33 +0530 From: pavan teja <bharghav2947@gmail.com> To: freebsd-hackers@freebsd.org Subject: View about passing IPC pointer to the child process from a prent process. Message-ID: <CAOMeaBT0Bh5RzSZCK1S20=hc8uwQvQWf%2B7VpxeDj8PPjt5NtnQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOMeaBT0Bh5RzSZCK1S20=hc8uwQvQWf%2B7VpxeDj8PPjt5NtnQ>