Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2008 22:02:19 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Using sendmsg for SCM_CREDS results in EINVAL on PF_INET socket
Message-ID:  <20080526220157.J35550@mp2.macomnet.net>
In-Reply-To: <BCBAE9EA84D54762AD983B29B2752492@multiplay.co.uk>
References:  <BCBAE9EA84D54762AD983B29B2752492@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 May 2008, 20:56+0100, Steven Hartland wrote:

> sendmsg is not documented as ever returning EINVAL but yet when
> using the following code to send credentials to a remote host
> results in EINVAL from sendmsg.
>
> I suspect that SCM_CREDS is only valid for PF_LOCAL / PF_UNIX
> sockets and not PF_INET sockets and hence the code in dbus
> is actually invalid.
>
> Can anyone confirm this is the case or not?
>
[...]
confirmed :-)

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080526220157.J35550>