With getpeereid() the credentials are passed at connect() and do not
require the client to send data. Therefore clients cannot consume
connections anonymously.
W.
On Tue, Aug 08, 2000 at 09:35:28AM -0700, Alfred Perlstein wrote:
>
> I haven't used the credential passing feature of sendmsg(), but I
> was wondering what advantages this has over being able to pass
> kernel verified id's through a unix domain socket using SCM_CREDS.
> My reading of UNP seems to indicate that it offers the same features.
>
> -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
> "I have the heart of a child; I keep it in a jar on my desk."
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message