new api to set the environment of activated services
Ray Strode
halfline at gmail.com
Thu Jul 10 19:54:47 PDT 2008
Hi,
On Thu, Jul 10, 2008 at 5:49 PM, Colin Walters <walters at verbum.org> wrote:
> + if (strcmp (bus_context_get_type (activation->context), "system") == 0)
> + return FALSE;
Good catch!
> Need to set the error here (DBUS_ERROR_ACCESS_DENIED maybe), no?
yup, that error code sounds good.
> Otherwise looks reasonable at a high level; can you create a bug for this?
Filed here:
https://bugs.freedesktop.org/show_bug.cgi?id=16669
and I've pushed the work to the "activation-environment" branch so it
doesn't get lost and will be easy to update/merge to master.
--Ray
More information about the dbus
mailing list