Systemd/src/core
Lennart Poettering 8e2af47840 dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it
This introduces two bus calls to make runtime changes to selected bus
properties, optionally with persistence.

This currently hooks this up only for three cgroup atributes, but this
brings the infrastructure to add more changable attributes.

This allows setting multiple attributes at once, and takes an array
rather than a dictionary of properties, in order to implement simple
resetting of lists using the same approach as when they are sourced from
unit files. This means, that list properties are appended to by this
call, unless they are first reset via assigning the empty list.
2013-06-27 21:14:56 +02:00
..
.gitignore execute: support syscall filtering using seccomp filters 2012-07-17 04:17:53 +02:00
audit-fd.c selinux: remove anything PID1-specific from selinux-access.[ch] so that we can reuse it in logind 2012-10-02 17:56:54 -04:00
audit-fd.h audit: turn the audit fd into a static variable 2012-10-02 17:40:09 -04:00
automount.c unit: rework stop pending logic 2013-04-25 22:01:49 -03:00
automount.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
build.h journal: make libgcrypt dependency optional 2012-08-20 16:51:46 +02:00
bus-errors.h Move bus_error to dbus-common and remove bus_error_message_or_strerror 2013-04-18 02:54:58 +02:00
cgroup.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
cgroup.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
condition.c core: use the same test as upstart for apparmor 2013-05-30 00:43:39 -04:00
condition.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
dbus-automount.c selinux: rework selinux access check logic 2012-10-02 17:07:00 -04:00
dbus-automount.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-cgroup.c dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
dbus-cgroup.h dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
dbus-device.c selinux: rework selinux access check logic 2012-10-02 17:07:00 -04:00
dbus-device.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-execute.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
dbus-execute.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
dbus-job.c logind: don't busy loop if a job is still running but the delay timeout expires 2013-04-24 19:02:12 -03:00
dbus-job.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-kill.c unit: split off KillContext from ExecContext containing only kill definitions 2012-07-20 00:10:31 +02:00
dbus-kill.h unit: split off KillContext from ExecContext containing only kill definitions 2012-07-20 00:10:31 +02:00
dbus-manager.c dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
dbus-manager.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-mount.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
dbus-mount.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-path.c unit: rework trigger dependency logic 2013-04-23 16:00:32 -03:00
dbus-path.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-service.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
dbus-service.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-slice.c dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
dbus-slice.h dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
dbus-snapshot.c Use bus_maybe_send_reply() where applicable 2013-03-18 19:59:32 -04:00
dbus-snapshot.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-socket.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
dbus-socket.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-swap.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
dbus-swap.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-target.c selinux: rework selinux access check logic 2012-10-02 17:07:00 -04:00
dbus-target.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-timer.c unit: rework trigger dependency logic 2013-04-23 16:00:32 -03:00
dbus-timer.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
dbus-unit.c dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
dbus-unit.h dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
dbus.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
dbus.h manager: extend performance measurement interface to include firmware/loader times 2012-09-13 18:54:32 +02:00
device.c core: escape unit name from udev 2013-05-06 23:10:44 +02:00
device.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
execute.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
execute.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
hostname-setup.c hostname: only suppress setting of pretty hostname if it is non-equal to the static hostname and if the static hostname is set, too 2013-05-07 20:56:41 +02:00
hostname-setup.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
ima-setup.c core: move mount_setup_early() to main.c 2013-03-07 20:53:14 +01:00
ima-setup.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
initreq.h move libsystemd_core.la sources into core/ 2012-04-11 16:03:51 +02:00
job.c Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
job.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
kill.c unit: split off KillContext from ExecContext containing only kill definitions 2012-07-20 00:10:31 +02:00
kill.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
killall.c killall: do not use alloca() in argument list 2013-06-26 19:52:00 -04:00
killall.h switch-root: don't wait for processes 2012-07-17 17:44:26 +02:00
kmod-setup.c kmod-setup: properly iterate through module table 2013-05-07 17:52:23 +02:00
kmod-setup.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
load-dropin.c id128: when taking user input for a 128bit ID, validate syntax 2013-04-30 08:36:01 -03:00
load-dropin.h Introspect and monitor dropin configuration 2013-04-01 23:43:49 -04:00
load-fragment-gperf.gperf.m4 core: general cgroup rework 2013-06-27 04:17:34 +02:00
load-fragment.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
load-fragment.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
locale-setup.c Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
locale-setup.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
loopback-setup.c move _cleanup_ attribute in front of the type 2013-04-18 09:11:22 +02:00
loopback-setup.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
machine-id-setup.c id128: when taking user input for a 128bit ID, validate syntax 2013-04-30 08:36:01 -03:00
machine-id-setup.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
macros.systemd.in rpm: define a %_userunitdir macro 2013-06-17 18:37:25 +02:00
main.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
Makefile build-sys: add stub makefiles to make emacs easier to use 2012-04-12 13:35:56 +02:00
manager.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
manager.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
mount-setup.c Small cleanup 2013-04-24 00:25:04 -04:00
mount-setup.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
mount.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
mount.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
namespace.c core: remove unnecessary goto in setup_namespace 2013-03-20 19:16:01 -04:00
namespace.h core: Remove unnecessary typedef 2013-04-17 18:27:46 +02:00
org.freedesktop.systemd1.conf systemctl: add commands set-default and get-default 2013-05-30 20:44:41 -04:00
org.freedesktop.systemd1.policy.in.in move more main systemd parts to core/ 2012-04-12 14:24:40 +02:00
org.freedesktop.systemd1.service move more main systemd parts to core/ 2012-04-12 14:24:40 +02:00
path.c Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
path.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
securebits.h move libsystemd_core.la sources into core/ 2012-04-11 16:03:51 +02:00
selinux-access.c Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
selinux-access.h selinux: remove anything PID1-specific from selinux-access.[ch] so that we can reuse it in logind 2012-10-02 17:56:54 -04:00
selinux-setup.c util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
selinux-setup.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
service.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
service.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
shutdown.c shutdown: print a nice message before returning to initrd 2013-04-09 18:29:33 +02:00
slice.c dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
slice.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
smack-setup.c Make it possible to disable smack separately from xattr support 2013-05-17 09:58:28 -07:00
smack-setup.h core: mount and initialize Smack 2013-03-07 20:53:14 +01:00
snapshot.c Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
snapshot.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
socket.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
socket.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
special.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
swap.c core: general cgroup rework 2013-06-27 04:17:34 +02:00
swap.h core: general cgroup rework 2013-06-27 04:17:34 +02:00
switch-root.c switch-root: try pivot_root() before overmounting / 2012-11-16 18:21:09 +01:00
switch-root.h switch-root: move switch_root() call into its own .c file 2012-05-21 19:33:39 +02:00
sync.c shutdown: issue a sync() as soon as shutdown.target is queued 2013-02-09 02:20:42 +01:00
sync.h shutdown: issue a sync() as soon as shutdown.target is queued 2013-02-09 02:20:42 +01:00
syscall-list.c Make two functions static 2013-03-20 19:16:01 -04:00
syscall-list.h Fix spelling errors using 'codespell' tool 2013-04-15 08:40:05 -04:00
sysfs-show.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
system.conf manager: add DefaultEnvironment option 2013-06-20 16:27:45 -04:00
systemd.pc.in rpm: expose preset dir as rpm macro and in systemd.pc 2012-09-13 22:17:46 +02:00
target.c Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
target.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
tcpwrap.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
tcpwrap.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
timer.c Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
timer.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
transaction.c Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
transaction.h core, systemctl: add support for irreversible jobs 2013-02-22 16:06:17 +01:00
umount.c move _cleanup_ attribute in front of the type 2013-04-18 09:11:22 +02:00
umount.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
unit-printf.c logind: add infrastructure to keep track of machines, and move to slices 2013-06-20 03:49:59 +02:00
unit-printf.h unit: split unit_printf() and friends into its own .c file 2012-09-18 11:27:56 +02:00
unit.c dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
unit.h dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it 2013-06-27 21:14:56 +02:00
user.conf man: rename systemd.conf to systemd-system.conf 2013-02-13 09:48:32 -05:00