[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#631968: aborts on start (GNU/kFreeBSD)



Hi,

(cleaning up the CC list to Hurd-specific recipients, since it is about 
Hurd-specific bits.)

Alle lunedì 22 ottobre 2012, Simon McVittie ha scritto:
> I have no idea how credentials-passing works on Hurd, but Hurd isn't
> release-critical, so that can wait (if my theory is correct, please
> clone the bug for Hurd support). If Hurd porters want to make GDBus
> work, grepping for __FreeBSD__ is probably a good start. GLib appears
> to support three different flavours of credentials-passing (for
> Linux, FreeBSD and OpenBSD) so if Hurd resembles one of those, it
> should be possible to make it work; the src:dbus build logs claim it
> has SCM_RIGHTS.

Since there is a bit more of BSD compatibility (I think it was one of 
the goals many years ago), there is the BSD-style API for that (i.e. 
using cmsgcred with SCM_CREDS payloads). Although, the actual filling of 
the payload data is not done, which makes things like D-Bus or gamin not 
work.
I saw glib has the API wrapping for socket credentials, but I decided to 
skip supporting Hurd there until cmsgcred would actually work on Hurd. 
(Of course, anybody else is free to prepare such patch.)

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: