summaryrefslogtreecommitdiff
path: root/src/journal/coredump.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-08 20:32:03 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-08 20:35:26 +0200
commitc4aa09b06f835c91cea9e021df4c3605cff2318d (patch)
treedea3f0e9329b33edf59f05a5cf6a6f14b1ff8bf7 /src/journal/coredump.c
parent3df82d5a8cdc510f518fd5e234ccb3233b748719 (diff)
journald: bring max coredump size in sync with max entry size
Diffstat (limited to 'src/journal/coredump.c')
-rw-r--r--src/journal/coredump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/coredump.c b/src/journal/coredump.c
index c56d283268..2dfb04afdf 100644
--- a/src/journal/coredump.c
+++ b/src/journal/coredump.c
@@ -37,6 +37,8 @@
#include "special.h"
#include "cgroup-util.h"
+/* Make sure to not make this larger than the maximum journal entry
+ * size. See ENTRY_SIZE_MAX in journald-native.c. */
#define COREDUMP_MAX (768*1024*1024)
enum {