diff options
author | Karel Zak <kzak@redhat.com> | 2015-11-06 11:06:52 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2015-11-06 11:06:52 +0100 |
commit | 412ea7a936ebaa5342a4c2abf48b9e408e6ba5dc (patch) | |
tree | 1e28a600b8ac77f74528411153ad4c6a39d2ca02 /tmpfiles.d/systemd.conf.m4 | |
parent | a6bff4a7428b9539d85618e3c91fcb60be93f3fa (diff) |
core: support IEC suffixes for RLIMIT stuff
Let's make things more user-friendly and support for example
LimitAS=16G
rather than force users to always use LimitAS=16106127360.
The change is relevant for options:
[Default]Limit{FSIZE,DATA,STACK,CORE,RSS,AS,MEMLOCK,MSGQUEUE}
The patch introduces config_parse_bytes_limit(), it's the same as
config_parse_limit() but uses parse_size() tu support the suffixes.
Addresses: https://github.com/systemd/systemd/issues/1772
Diffstat (limited to 'tmpfiles.d/systemd.conf.m4')
0 files changed, 0 insertions, 0 deletions