chiark / gitweb /
Include <fcntl.h> instead of <sys/fcntl.h>
[elogind.git] / src / journal / journald-native.c
index 069114778b39926159f1e522fb377d4abe27a08d..9d1f39f0c5e855ab999018d95781db4f07381686 100644 (file)
 #include "journald-console.h"
 #include "journald-syslog.h"
 
-#define ENTRY_SIZE_MAX (1024*1024*64)
-#define DATA_SIZE_MAX (1024*1024*64)
+/* Make sure not to make this smaller than the maximum coredump
+ * size. See COREDUMP_MAX in coredump.c */
+#define ENTRY_SIZE_MAX (1024*1024*768)
+#define DATA_SIZE_MAX (1024*1024*768)
 
 static bool valid_user_field(const char *p, size_t l) {
         const char *a;