_dbus_read_credentials_socket: support OpenBSD
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 21 Jan 2011 13:27:18 +0000 (13:27 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 21 Jan 2011 13:27:18 +0000 (13:27 +0000)
commitedaa6fe253782dda959d78396b43e9fd71ea77e3
tree696942d6c35c379cff12066efeadd3291e2741cc
parent57fab1c2196242db8fb452c98550eef0f5f2de18
_dbus_read_credentials_socket: support OpenBSD

OpenBSD SO_PEERCRED is nearly the same as Linux SO_PEERCRED, but the
struct is named differently. Sigh.

Based on a patch from 'ajacoutot'.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32542
dbus/dbus-sysdeps-unix.c