Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 12:59:52 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: A bug with getsockopt(SOL_LOCAL, LOCAL_PEERCRED) ?
Message-ID:  <CALH631kRjB-nAtsDLSS34WtDBL9x-2k_kZM9ZpjCzFkJX8-5eg@mail.gmail.com>
In-Reply-To: <CALH631mc8gstiSVucir%2B_J62LX9LQTU2CGC-eGoD6kU5DDXKQA@mail.gmail.com>
References:  <CALH631kLCApctk4iQJj6br0Pzeb6qsh9g3jz_SA8hH91ftQGDQ@mail.gmail.com> <YHiQ6qEjS2w8uYpS@kib.kiev.ua> <CALH631=3hqvfraume467OM%2BqGqp854sGJFfhO8b61mF%2BkbsJ2Q@mail.gmail.com> <E6626DFC-2014-412C-AEA2-ECE57835B058@yahoo.com> <CALH631mi0xOQGjd6F3Beu_BQdqAx8RYCrbkUi524F8S4rwo1aA@mail.gmail.com> <40116716-D8D9-438D-A168-B26A112D199E@yahoo.com> <CALH631nrhyY%2BK3tPSwt1wuYHoZkz371UtjK%2BdG844RybtA2yKw@mail.gmail.com> <YIFQ/U34i1Jbxjv7@kib.kiev.ua> <CALH631maNoe_x%2BippbRTE3s8XarZ32Nrb%2BfXWUz-NMFeCre_-w@mail.gmail.com> <YIHPzqgjRwDtrMrM@kib.kiev.ua> <445774BD-D68B-48A1-856D-F8DC9A480C68@yahoo.com> <0C66B2A2-C9C6-4783-8A26-F736F3B9CCD8@yahoo.com> <AA2EDB34-4977-4449-BE48-B898DBC16188@yahoo.com> <CALH631mc8gstiSVucir%2B_J62LX9LQTU2CGC-eGoD6kU5DDXKQA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
All right, I got an answer from Collabora and they confirmed that it is a
bug on their side.

They indeed wanted to check creds on the accepted socket, not the listening
one.

So, unless I am missing something, I think it is good to have FreeBSD error
out in this case.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631kRjB-nAtsDLSS34WtDBL9x-2k_kZM9ZpjCzFkJX8-5eg>