journald: bring max coredump size in sync with max entry size
This commit is contained in:
parent
3df82d5a8c
commit
c4aa09b06f
|
@ -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 {
|
||||
|
|
|
@ -31,8 +31,10 @@
|
|||
#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;
|
||||
|
|
Loading…
Reference in New Issue