chiark / gitweb /
journal: export valid_user_field and size defines
[elogind.git] / src / journal / coredump.c
index 733373b3071d16a70710aa19e9f034ae181bf729..29342de6811d25fbe48123cd063b5cd0edd0c790 100644 (file)
 #include "mkdir.h"
 #include "special.h"
 #include "cgroup-util.h"
+#include "journald-native.h"
 
 /* Few programs have less than 3MiB resident */
 #define COREDUMP_MIN_START (3*1024*1024)
 /* Make sure to not make this larger than the maximum journal entry
  * size. See ENTRY_SIZE_MAX in journald-native.c. */
 #define COREDUMP_MAX (767*1024*1024)
+assert_cc(COREDUMP_MAX <= ENTRY_SIZE_MAX);
 
 enum {
         ARG_PID = 1,