[chop]
 
> Switching gears back to the BSD/OS approach you mentioned, UNPv1 says,
> 
>     On a datagram socket, the credentials accompany every datagram.  On
>     a stream socket, the credentials are sent only once, the first time
>     data is sent.
> 
> So as long as one is using a SOCK_DGRAM socket, the BSD/OS-NetBSD
> approach should be analogous to what we have currently in FreeBSD?

What if the client creates a TCP socket, the credentials are sent, then
the process fork()s. Yeah, I know: why in the hell would you do that?
Who knows, but you have to account for all cases. Even though you may
have a TCP stream socket, you're still sending discrete requests and
replies over it.

-Bill


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to