diff options
author | Havoc Pennington <hp@redhat.com> | 2007-06-09 21:53:20 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2007-06-09 21:53:20 +0000 |
commit | 23832672266bb4ff23b66247c0cfa1a2ed0cc97b (patch) | |
tree | 119e37411f14923780de3ca7a759707508f1ec63 /bus/policy.c | |
parent | b80a8fe6b364543aa4b32a02a5ad913faf97173b (diff) | |
download | dbus-23832672266bb4ff23b66247c0cfa1a2ed0cc97b.tar.gz |
2007-06-09 Havoc Pennington <hp@redhat.com>
* bus/dispatch.c (check_get_connection_unix_process_id): adapt
since sysdeps-unix.h stuff isn't included anymore
* bus/bus.c (bus_context_new): use more abstract functions to
change user, so they can be no-ops on Windows
* dbus/dbus-credentials.c, dbus/dbus-credentials.h,
dbus/dbus-credentials-util.c: new files containing a fully opaque
DBusCredentials data type to replace the old not opaque one.
* configure.in (DBUS_UNIX): define DBUS_UNIX to match DBUS_WIN on
windows
* dbus/dbus-userdb.h: prohibit on Windows, next step is to clean
up the uses of it in bus/*.c and factor out the parts of
cookie auth that depend on it
Diffstat (limited to 'bus/policy.c')
-rw-r--r-- | bus/policy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bus/policy.c b/bus/policy.c index 52ae72a4..7782563b 100644 --- a/bus/policy.c +++ b/bus/policy.c @@ -324,13 +324,9 @@ bus_policy_create_client_policy (BusPolicy *policy, if (!dbus_connection_get_unix_user (connection, &uid)) { -#ifdef DBUS_WIN_FIXME - _dbus_verbose ("policy.c: dbus_connection_get_unix_user check disabled under windows\n"); -#else dbus_set_error (error, DBUS_ERROR_FAILED, "No user ID known for connection, cannot determine security policy\n"); goto failed; -#endif } if (_dbus_hash_table_get_n_entries (policy->rules_by_uid) > 0) |