summaryrefslogtreecommitdiff
path: root/src/login/logind-user-dbus.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-17udev: replace util_create_path() with mkdir_parents()Kay Sievers1-1/+1
2012-04-16systemctl: show main and control PID explicitly in cgroup-showLennart Poettering1-2/+22
In some cases the main/control PID of a service can be outside of the services cgroups (for example, if logind readjusts the processes' cgroup). In order to clarify this for the user show the main/control PID in the cgroup tree nonetheless, but mark them specially.
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering1-4/+4
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-01-16dbus: more efficient implementation of propertiesMichal Schmidt1-20/+26
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-12-31logind: move logind into its own subdirectoryLennart Poettering1-0/+411