Systemd/src
Lennart Poettering cab2aca3e7 core: fix support for transient resource limit properties
Make sure we can properly process resource limit properties. Specifically, allow transient configuration of both the
soft and hard limit, the same way from the unit files. Previously, only the the hard rlimits could be configured but
they'd implicitly spill into the soft hard rlimits.

This also updates the client-side code to be able to parse hard/soft resource limit specifications. Since we need to
serialize two properties in bus_append_unit_property_assignment() now, the marshalling of the container around it is
now moved into the function itself. This has the benefit of shortening the calling code.

As a side effect this now beefs up the rlimit parser of "systemctl set-property" to understand time and disk sizes
where that's appropriate.
2016-02-01 22:18:16 +01:00
..
ac-power
activate activate: reorder --help text 2016-02-01 22:18:15 +01:00
analyze analyze: verify verifies templates too 2015-12-14 07:11:03 +00:00
ask-password
backlight tree-wide: check if errno is greater than zero (2) 2016-01-13 15:10:17 -05:00
basic basic: add new rlimit_format() call 2016-02-01 22:18:16 +01:00
binfmt defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
boot bootctl: replace readdir() loops with FOREACH_DIRENT 2016-01-31 09:44:53 +01:00
bootchart tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00
bus-proxyd tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
cgls tests: turn check if manager cannot be intialized into macro 2015-12-02 09:50:00 -05:00
cgroups-agent tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
cgtop tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00
compat-libs
core core: fix support for transient resource limit properties 2016-02-01 22:18:16 +01:00
cryptsetup tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
dbus1-generator treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
debug-generator debug-generator: respect kernel parameters for default unit setting 2015-11-03 14:47:39 +03:00
delta treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
detect-virt detect-virt: add new --chroot switch to detect chroot() environments 2015-10-27 13:25:57 +01:00
escape util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
firstboot tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
fsck tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
fstab-generator fstab-generator: fix ordering of /sysroot/usr mount 2016-01-17 10:58:40 +01:00
getty-generator tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
gpt-auto-generator gpt-auto: don't log an EIO error if blkid finds something which is not a partition table 2016-02-01 22:18:16 +01:00
hibernate-resume tree-wide: sort includes 2015-11-16 22:09:36 +01:00
hostname treewide: fix typos and indentation 2015-12-14 15:53:11 +01:00
hwdb tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
import tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
initctl tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
journal journal-cat: don't allocate memory for the syslog identifier 2016-02-01 22:18:15 +01:00
journal-remote Merge pull request #2425 from yuwata/journal-remote-v4 2016-01-24 11:49:31 -05:00
kernel-install
libsystemd sd-event: permit a USEC_INFINITY timeout as an alternative to a disabling an event source 2016-02-01 22:18:15 +01:00
libsystemd-network dhcp: make host/domain name validity checks stricter 2016-01-26 14:42:04 +01:00
libudev libudev: simplify udev_device_ensure_usec_initialized a bit 2015-12-07 00:44:14 -05:00
locale tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
login logind: update documentation for cf7d1a30e4 2016-01-26 14:24:06 +02:00
machine machined: add early checks for unrealistically large image/pool sizes 2016-01-27 02:21:28 +01:00
machine-id-setup core: Add machine-id setting 2016-01-12 22:10:41 +00:00
modules-load defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
network Merge pull request #1975 from ssahani/vxlan2 2016-01-27 01:17:52 +01:00
notify util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
nspawn core: fix support for transient resource limit properties 2016-02-01 22:18:16 +01:00
nss-myhostname nss: block various signals while running NSS lookups 2016-01-27 02:22:58 +01:00
nss-mymachines nss: block various signals while running NSS lookups 2016-01-27 02:22:58 +01:00
nss-resolve nss-resolve: also fall back to nss-dns if dbus doesn't work 2016-01-27 02:22:58 +01:00
path util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
quotacheck tree-wide: sort includes 2015-11-16 22:09:36 +01:00
random-seed util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
rc-local-generator treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
remount-fs remount-fs: modernize coding style a bit 2015-11-17 00:52:10 +01:00
reply-password util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
resolve resolve: work around clang limitation 2016-02-01 22:18:16 +01:00
rfkill tree-wide: group include of libudev.h with sd-* 2015-11-17 07:06:08 +01:00
run core: fix support for transient resource limit properties 2016-02-01 22:18:16 +01:00
shared core: fix support for transient resource limit properties 2016-02-01 22:18:16 +01:00
sleep util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
socket-proxy journal-remote: split-mode=host, remove port from journal filename 2015-12-01 19:29:59 +02:00
sysctl defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
system-update-generator util-lib: move a number of fs operations into fs-util.[ch] 2015-10-27 13:25:56 +01:00
systemctl core: fix support for transient resource limit properties 2016-02-01 22:18:16 +01:00
systemd sd-journal: introduce has_runtime_files and has_persistent_files 2016-02-01 11:59:27 +01:00
sysusers sysusers: use GID_FMT and UID_FMT instead of %d 2016-01-21 16:35:19 +01:00
sysv-generator sysv-generator: do not join dependencies on one line, split them 2016-01-21 12:53:14 +01:00
test basic: add new rlimit_format() call 2016-02-01 22:18:16 +01:00
timedate tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
timesync timesyncd: use (void) to mark ignored value 2016-01-20 18:55:56 -05:00
tmpfiles tree-wide: check if errno is greater than zero (2) 2016-01-13 15:10:17 -05:00
tty-ask-password-agent tty-ask-password-agent: fix typo in error message 2015-11-05 13:44:01 +01:00
udev udev: net_id - for ccw bus, shorten the identifier and stip leading zeros 2016-01-29 17:54:30 +01:00
update-done util-lib: split out IO related calls to io-util.[ch] 2015-10-26 01:24:38 +01:00
update-utmp tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
user-sessions user-sessions: make sure /run/nologin has correct SELinux label 2015-12-04 22:01:17 +01:00
vconsole tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00
.gitignore
Makefile