tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Extending sockcred

On Saturday, 5 Jul 2008 8:40:17
Iain Hibbert <> wrote:

> as you note, for SOCK_DGRAM sockets it could be better if the
> server couldjust set an option and get (eg SCM_PID) control
> messages. I don't seethat it would be very complex to add that
> capability

> I think the externalize/internalize of a property list would end
> up beinginefficient in this instance, and there is no way (as yet)
> to externalizeto a mbuf chain so you can't stuff it into a control
> message without moreoverhead.

I filed kern/39108 which includes the diff for my LOCAL_PROC/SCM_PROC

The earlier test/example server.c was also updated:;content-type=text%2Fx-cvsweb-markup

Matthew Mondor

Home | Main Index | Thread Index | Old Index