diff options
author | Karel Zak <kzak@redhat.com> | 2015-11-20 12:54:10 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2015-11-25 12:03:32 +0100 |
commit | 91518d20ddf0376808544576d0ef0883cedc67d4 (patch) | |
tree | d5e687e43d3f1494f1d94e26e27efdc71013bb60 /test/rule-syntax-check.py | |
parent | 6098bb0dc31b1c472ab868088d04234352c44b75 (diff) |
core: support <soft:hard> ranges for RLIMIT options
The new parser supports:
<value> - specify both limits to the same value
<soft:hard> - specify both limits
the size or time specific suffixes are supported, for example
LimitRTTIME=1sec
LimitAS=4G:16G
The patch introduces parse_rlimit_range() and rlim type (size, sec,
usec, etc.) specific parsers. No code is duplicated now.
The patch also sync docs for DefaultLimitXXX= and LimitXXX=.
References: https://github.com/systemd/systemd/issues/1769
Diffstat (limited to 'test/rule-syntax-check.py')
0 files changed, 0 insertions, 0 deletions