diff options
author | Patrick Welche <prlw1@cam.ac.uk> | 2014-07-29 14:08:20 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-11-06 14:29:50 +0000 |
commit | f26ade306c1d583897610c767a560e972d680f35 (patch) | |
tree | 42806a07a916e82b528fc8669689acd320bc2aea /bus/dispatch.c | |
parent | fc2fa25a3f729a704ff4ae8e3c733b81eb7c0c75 (diff) | |
download | dbus-f26ade306c1d583897610c767a560e972d680f35.tar.gz |
Implement NetBSD credentials-passing with LOCAL_PEEREID
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69702
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Alban Crequy <alban.crequy@collabora.co.uk>
Tested-by: Patrick Welche <prlw1@cam.ac.uk>
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r-- | bus/dispatch.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c index fa2cc968..8f322f8c 100644 --- a/bus/dispatch.c +++ b/bus/dispatch.c @@ -1312,6 +1312,11 @@ check_get_connection_unix_process_id (BusContext *context, #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \ defined(__linux__) || \ defined(__OpenBSD__) + /* In principle NetBSD should also be in that list, but + * its implementation of PID-passing doesn't work + * over a socketpair() as used in the debug-pipe transport. + * We test this functionality in a more realistic situation + * in test/dbus-daemon.c. */ warn_unexpected (connection, message, "not this error"); goto out; |