summaryrefslogtreecommitdiff
path: root/src/dbus-common.c
AgeCommit message (Collapse)Author
2012-01-21dbus: export ControlGroupPersistent field on the bus againLennart Poettering
2012-01-16dbus: more efficient implementation of propertiesMichal Schmidt
The way the various properties[] arrays are initialized is inefficient: - only the .data members change at runtime, yet the whole arrays of properties with all the fields are constructed on the stack one by one by the code. - there's duplication, eg. the properties of "org.freedesktop.systemd1.Unit" are repeated in several unit types. Fix it by moving the information about properties into static const sections. Instead of storing the .data directly in the property, store a constant offset from a run-time base. The small arrays of struct BusBoundProperties bind together the constant information with the right runtime information (the base pointer). On my system the code shrinks by 60 KB, data increases by 10 KB.
2011-09-03dbus: terminate mechanism daemons after a whileLennart Poettering
2011-07-08loginctl: add various introspection functionsLennart Poettering
2011-07-07loginctl: add basic implementation of loginctl for introspecting controlling ↵Lennart Poettering
sessions/users/seats
2011-07-01dbus: listen on private sockets in user mode tooLennart Poettering
2011-06-24logind: hook up PAM module with logindLennart Poettering
2011-06-21dbus: introduce UnsetAndSetEnvironment()Lennart Poettering
2011-06-21dbus: add api for append gid/uid propertiesLennart Poettering
2011-06-21dbus: make bus_flags_to_events() and friends generally usefulLennart Poettering
2011-05-25dbus-common: fix segfault when a DBus message has no interfaceMichal Schmidt
dbus_message_get_interface() may return NULL. https://bugzilla.redhat.com/show_bug.cgi?id=707483
2011-05-21bus_property_append_long: use signed long and 'x' in the signature for ↵Kay Sievers
DBUS_TYPE_INT64
2011-05-17socket: add POSIX mqueue supportLennart Poettering
2011-04-16dbus: split out object management code into dbus-common, and simplify itLennart Poettering
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-17def: centralize definition of default timeout in one placeLennart Poettering
2011-03-14core: move abstract namespace sockets to /dev/.runLennart Poettering
Now that we have /dev/.run there's no need to use abstract namespace sockets. So, let's move things to /dev/.run, to make things more easily discoverable and improve compat with chroot() and fs namespacing.
2011-03-12systemctl: support remote and privileged systemctl access via SSH and pkexecLennart Poettering
This adds support for executing systemctl operations remotely or as privileged user while still running systemctl itself unprivileged and locally. This currently requires a D-Bus patch to work properly. https://bugs.freedesktop.org/show_bug.cgi?id=35230
2011-03-11util: close all fds before freezing executionLennart Poettering
2011-03-11dbus: timeout connection setupLennart Poettering
2010-08-25dbus: simplify some dbus error messages a bitLennart Poettering
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-07-11dbus: get rid of last non-private bussesLennart Poettering
2010-07-11dbus: use private connections wherever possibleLennart Poettering
2010-07-07dbus: don't try to run AddMatch when connected to a private busLennart Poettering
2010-07-06install: implement --start optionLennart Poettering