]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-manager.c
add org.freedesktop.DBus.Properies.Set method
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sun, 6 Mar 2011 16:17:02 +0000 (19:17 +0300)
committerLennart Poettering <lennart@poettering.net>
Mon, 7 Mar 2011 01:17:31 +0000 (02:17 +0100)
commitc826cda421f0272275342173e16250adcdf6fbd4
treed9b8ad25728a1958b6615738e083768bf764e15e
parentb4353094e5097c0cb149b5adcffe2a6ba9240283
add org.freedesktop.DBus.Properies.Set method

The patch adds framework for processing Set requests on properties
and as first consumers allows setting of LogTarget and LogLevel on
interface org.freedesktop.systemd1.Manager of org.freedesktop.systemd1.

The code should be generic enough to allow processing of any
property on other objects and interfaces as well.

No systemctl visible interface is added so far. The LogTarget and
LogLevel are meant for debugging in the first place; user interface
can be added if other usage emerge.

Set on systemwide systemd is restricted to root; I am not sure
how session level access is controlled.
src/dbus-manager.c
src/dbus.c
src/dbus.h