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 <plunky%rya-online.net@localhost> 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
implementation.

The earlier test/example server.c was also updated:
http://cvs.pulsar-zone.net/cgi-bin/cvsweb.cgi/mmondor/tests/localcred/server.c?rev=1.6;content-type=text%2Fx-cvsweb-markup

Thanks
-- 
Matthew Mondor


Home | Main Index | Thread Index | Old Index