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.

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

◆ _FILE_OFFSET_BITS

#define _FILE_OFFSET_BITS   64

Definition at line 28 of 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 58 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 91 of file util-coredump-config.c.

References ConfGet(), SCLogDebug, and SCLogError.

Here is the call graph for this function: