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

Go to the source code of this file.

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.

Function Documentation

◆ CoredumpEnable()

void CoredumpEnable ( void  )

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

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

◆ CoredumpLoadConfig()

int32_t CoredumpLoadConfig ( void  )

Configures the core dump size.

Return values
Returns1 on success and 0 on failure.

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

References ConfGet(), SCLogDebug, and SCLogError.

Here is the call graph for this function: