suricata
util-coredump-config.c File Reference
#include "util-coredump-config.h"
#include "conf.h"
Include dependency graph for util-coredump-config.c:

Go to the source code of this file.

Macros

#define _FILE_OFFSET_BITS   64
 

Functions

void CoredumpEnable (void)
 Enable coredumps on systems where coredumps can and need to be enabled. More...
 
int32_t CoredumpLoadConfig (void)
 Configures the core dump size. More...
 

Detailed Description

Author
Eileen Donlon emdon.nosp@m.lo@g.nosp@m.mail..nosp@m.com

Coredump configuration

Definition in file util-coredump-config.c.

Macro Definition Documentation

#define _FILE_OFFSET_BITS   64

Definition at line 26 of file util-coredump-config.c.

Function Documentation

void CoredumpEnable ( void  )

Enable coredumps on systems where coredumps can and need to be enabled.

Definition at line 53 of file util-coredump-config.c.

References SCLogDebug, SCLogInfo, and SCLogNotice.

Referenced by CoredumpLoadConfig(), and main().

Here is the caller graph for this function:

int32_t CoredumpLoadConfig ( void  )

Configures the core dump size.

Return values
Returns1 on success and 0 on failure.

Definition at line 85 of file util-coredump-config.c.

References ConfGet(), CoredumpEnable(), SC_ERR_INVALID_YAML_CONF_ENTRY, SCLogDebug, SCLogError, and SCLogInfo.

Referenced by PostRunDeinit().

Here is the call graph for this function:

Here is the caller graph for this function: