Date: Thu, 29 Aug 2013 14:35:53 -0700 From: Yuri <yuri@rawbw.com> To: Alfred Perlstein <bright@mu.org> Cc: net@FreeBSD.org Subject: Re: LOCAL_CREDS are broken ? Message-ID: <521FBEB9.20403@rawbw.com> In-Reply-To: <521FBDA1.4060106@mu.org> References: <521F9789.5000903@rawbw.com> <521FBDA1.4060106@mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/29/2013 14:31, Alfred Perlstein wrote: > Looks like SOCK_SEQPACKET doesn't support LOCAL_CREDS because its > protosw doesn't contain the entry for: > .pr_ctloutput = &uipc_ctloutput, > > Have a look at src/sys/kern/uipc_usrreq.c at around lines 280-332: But SOCK_DGRAM produces the same result. Sorry, I forgot to mention in my OP. I found this case by troubleshooting the linux code that does socketpair(AF_LOCAL, SOCK_DGRAM, 0,...) and later sets the equivalent of LOCAL_CREDS and this fails. Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?521FBEB9.20403>