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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to