]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/bus-unit-util.c
rlimit-util: rework rlimit_{from|to}_string() to work without "Limit" prefix
authorLennart Poettering <lennart@poettering.net>
Thu, 3 May 2018 16:45:39 +0000 (18:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 May 2018 18:36:52 +0000 (20:36 +0200)
commit6550c24c7f21ee398a1ca0ab43603b23a3414108
treef99265f8feb8ced015942db9978da228eb461cd1
parent0e960f9b5cb42bdbb9e0aafe2b543f969f6e0aae
rlimit-util: rework rlimit_{from|to}_string() to work without "Limit" prefix

let's make the call more generic, so that we can also easily use it for
parsing "RLIMIT_xyz" style constants.
src/basic/rlimit-util.c
src/basic/rlimit-util.h
src/core/dbus-execute.c
src/core/execute.c
src/shared/bus-unit-util.c
src/shared/bus-util.c
src/test/test-rlimit-util.c