summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-09-15 18:37:59 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-11-06 14:29:50 +0000
commitff068fea606e1122175863f2c5c1649c10dd1cad (patch)
tree227d540dc0f1c673333aedb34dcfddbfa64ab9f5 /test
parent57e67fc55124b323670bfb54e8b43750f1e49f4d (diff)
downloaddbus-ff068fea606e1122175863f2c5c1649c10dd1cad.tar.gz
Add NetBSD to the list of platforms where credentials-passing a pid should work
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69702 Reviewed-by: Patrick Welche <prlw1@cam.ac.uk> Reviewed-by: Alban Crequy <alban.crequy@collabora.co.uk> Tested-by: Patrick Welche <prlw1@cam.ac.uk>
Diffstat (limited to 'test')
-rw-r--r--test/dbus-daemon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c
index 8b5ad6b5..bb1d1374 100644
--- a/test/dbus-daemon.c
+++ b/test/dbus-daemon.c
@@ -52,6 +52,7 @@
*/
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
defined(__linux__) || \
+ defined(__NetBSD__) || \
defined(__OpenBSD__)
# define UNIX_USER_SHOULD_WORK
# define PID_SHOULD_WORK
@@ -63,7 +64,7 @@
* These platforms should also #error in _dbus_read_credentials_socket()
* if we didn't detect their flavour of credentials-passing.
*/
-#if defined(__NetBSD__)
+#if 0 /* defined(__your_platform_here__) */
# define UNIX_USER_SHOULD_WORK
#endif