abrt  2.11.0.18.gf1d99.dirty
A tool to inform users about various problems on the running system
Macros | Functions
hooklib.h File Reference

Go to the source code of this file.

Macros

#define DUMP_SUID_UNSAFE   1
 
#define DUMP_SUID_SAFE   2
 

Functions

char * problem_data_save (problem_data_t *pd)
 Saves the problem data. More...
 
bool problem_entry_is_post_create_condition (const char *name)
 Checks if the name is used in post-create EVENT conditions. More...
 
int dump_suid_policy ()
 
int signal_is_fatal (int signal_no, const char **name)
 

Function Documentation

◆ problem_data_save()

char* problem_data_save ( problem_data_t *  pd)

Saves the problem data.

Creates the problem_dir in the system problem directory where it's picked by ABRT

Parameters
[in]pdFilled problem data structure to be saved
Returns
Unique identifier for the saved problem (usually full path to the stored data, but it's not guaranteed)

◆ problem_entry_is_post_create_condition()

bool problem_entry_is_post_create_condition ( const char *  name)

Checks if the name is used in post-create EVENT conditions.

Regular users should be prevented from creating these entries with certain values.

Parameters
[in]nameThe entry name
Returns
true if the given name can should be under special treatment; otherwise false.