diff options
author | Thomas Blume <Thomas.Blume@suse.com> | 2021-11-15 10:11:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-11-19 09:23:52 +0100 |
commit | 6e8791a04225d85720d045dcc87c076fec5eee7f (patch) | |
tree | df3f70a149d71dab5ffe70d795b5cbb464f6466d /src/coredump | |
parent | Merge pull request #21420 from DaanDeMeyer/journal-enumerate-skip (diff) | |
download | systemd-6e8791a04225d85720d045dcc87c076fec5eee7f.tar.xz systemd-6e8791a04225d85720d045dcc87c076fec5eee7f.zip |
systemd-coredump: allow setting external core size to infinity
Make it compatible to the ulimit setting: unlimited
Diffstat (limited to 'src/coredump')
-rw-r--r-- | src/coredump/coredump.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c index 86d087729a..9b035a5d8a 100644 --- a/src/coredump/coredump.c +++ b/src/coredump/coredump.c @@ -154,13 +154,13 @@ static uint64_t arg_max_use = UINT64_MAX; static int parse_config(void) { static const ConfigTableItem items[] = { - { "Coredump", "Storage", config_parse_coredump_storage, 0, &arg_storage }, - { "Coredump", "Compress", config_parse_bool, 0, &arg_compress }, - { "Coredump", "ProcessSizeMax", config_parse_iec_uint64, 0, &arg_process_size_max }, - { "Coredump", "ExternalSizeMax", config_parse_iec_uint64, 0, &arg_external_size_max }, - { "Coredump", "JournalSizeMax", config_parse_iec_size, 0, &arg_journal_size_max }, - { "Coredump", "KeepFree", config_parse_iec_uint64, 0, &arg_keep_free }, - { "Coredump", "MaxUse", config_parse_iec_uint64, 0, &arg_max_use }, + { "Coredump", "Storage", config_parse_coredump_storage, 0, &arg_storage }, + { "Coredump", "Compress", config_parse_bool, 0, &arg_compress }, + { "Coredump", "ProcessSizeMax", config_parse_iec_uint64, 0, &arg_process_size_max }, + { "Coredump", "ExternalSizeMax", config_parse_iec_uint64_infinity, 0, &arg_external_size_max }, + { "Coredump", "JournalSizeMax", config_parse_iec_size, 0, &arg_journal_size_max }, + { "Coredump", "KeepFree", config_parse_iec_uint64, 0, &arg_keep_free }, + { "Coredump", "MaxUse", config_parse_iec_uint64, 0, &arg_max_use }, {} }; |