]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/strv.h
unit: rework resource management API
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Feb 2013 17:50:41 +0000 (18:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 27 Feb 2013 17:50:41 +0000 (18:50 +0100)
commit26d04f86a36595e3565c74d67863e076c3e3c773
tree374ba1bdf5dfc95a9c05df1232ffc44d8bd98397
parent416389f7ae262ae7a0848302e7a6516597f9fad1
unit: rework resource management API

This introduces a new static list of known attributes and their special
semantics. This means that cgroup attribute values can now be
automatically translated from user to kernel notation for command line
set settings, too.

This also adds proper support for multi-line attributes.
17 files changed:
Makefile.am
src/core/cgroup-attr.c
src/core/cgroup-attr.h
src/core/cgroup-semantics.c [new file with mode: 0644]
src/core/cgroup-semantics.h [new file with mode: 0644]
src/core/dbus-manager.c
src/core/dbus-unit.c
src/core/dbus-unit.h
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h
src/core/unit.c
src/core/unit.h
src/shared/path-lookup.c
src/shared/strv.c
src/shared/strv.h
src/systemctl/systemctl.c