dbus/bus policy.c,1.25,1.26
Havoc Pennington
hp at redhat.com
Mon May 21 09:00:01 PDT 2007
Ralf Habacker wrote:
> Update of /cvs/dbus/dbus/bus
> In directory kemper:/tmp/cvs-serv5582/bus
>
> Modified Files:
> policy.c
> Log Message:
> * bus/policy (bus_policy_create_client_policy): win32 temporary fix until the userdb stuff is ported completly.
>
You shouldn't put this patch into mainline, it does not in any way make
things "work," even temporarily. It's just plain _wrong_.
Havoc
> Index: policy.c
> ===================================================================
> RCS file: /cvs/dbus/dbus/bus/policy.c,v
> retrieving revision 1.25
> retrieving revision 1.26
> diff -u -d -r1.25 -r1.26
> --- policy.c 15 Mar 2007 13:27:01 -0000 1.25
> +++ policy.c 19 May 2007 15:26:32 -0000 1.26
> @@ -324,9 +324,13 @@
>
> 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)
>
> _______________________________________________
> dbus-commit mailing list
> dbus-commit at freedesktop.org
> http://freedesktop.org/mailman/listinfo/dbus-commit
More information about the dbus
mailing list