[pulseaudio-discuss] module-native-protocol-unix and FreeBSD
Lennart Poettering
lennart at poettering.net
Sun Jan 18 06:55:54 PST 2009
On Sun, 11.01.09 03:19, Alexander Gromnitsky (alexander.gromnitsky at gmail.com) wrote:
You could also use normal auth cookies. I.e. copy ~/.pulse-cookie from
the server user to the client users.
> 1. "auth-group", "auth-group-enable" arguments for
> module-native-protocol-unix are only available when "if
> defined(HAVE_CREDS)".
>
> 2. Checks for user membership are only done "#ifdef HAVE_CREDS".
>
> 3. HAVE_CREDS macro is undefined for FreeBSD because pulseaudio uses
> Linux (-only?) ancillary message SCM_CREDENTIALS for authentication
> in sockets communication.
>
> Are my assumptions true?
Yes. As of now we support only SCM_CREDENTIALS. Patches welcome for
SO_PEERCRED, Solaris-style getpeerucred(3C) or BSD style getpeerid(3)/LOCAL_CREDS.
> Sorry for my terrible English.
Not that bad at all!
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list