pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Macros | Functions | Variables
services_linux.c File Reference
#include <crm_internal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <errno.h>
#include <unistd.h>
#include <dirent.h>
#include <grp.h>
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "crm/crm.h"
#include "crm/common/mainloop.h"
#include "crm/services.h"
#include "crm/services_internal.h"
#include "services_private.h"
Include dependency graph for services_linux.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 
#define EXIT_REASON_MAX_LEN   128
 

Functions

gboolean recurring_action_timer (gpointer data)
 
int services__finalize_async_op (svc_action_t *op)
 
int services__generic_error (svc_action_t *op)
 
int services__not_installed_error (svc_action_t *op)
 
int services__authorization_error (svc_action_t *op)
 
int services__configuration_error (svc_action_t *op, bool is_fatal)
 
void services__handle_exec_error (svc_action_t *op, int error)
 
int services__execute_file (svc_action_t *op)
 
GList * services_os_get_single_directory_list (const char *root, gboolean files, gboolean executable)
 
GList * services_os_get_directory_list (const char *root, gboolean files, gboolean executable)
 

Variables

volatile struct sigchld_data_s * last_sigchld_data = NULL
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 13 of file services_linux.c.

◆ EXIT_REASON_MAX_LEN

#define EXIT_REASON_MAX_LEN   128

Definition at line 598 of file services_linux.c.

Function Documentation

◆ recurring_action_timer()

gboolean recurring_action_timer ( gpointer  data)

Definition at line 476 of file services_linux.c.

◆ services__authorization_error()

int services__authorization_error ( svc_action_t op)

Definition at line 791 of file services_linux.c.

◆ services__configuration_error()

int services__configuration_error ( svc_action_t op,
bool  is_fatal 
)

Definition at line 827 of file services_linux.c.

◆ services__execute_file()

int services__execute_file ( svc_action_t op)

Definition at line 1168 of file services_linux.c.

◆ services__finalize_async_op()

int services__finalize_async_op ( svc_action_t op)

Definition at line 512 of file services_linux.c.

◆ services__generic_error()

int services__generic_error ( svc_action_t op)

Definition at line 721 of file services_linux.c.

◆ services__handle_exec_error()

void services__handle_exec_error ( svc_action_t op,
int  error 
)

Definition at line 859 of file services_linux.c.

◆ services__not_installed_error()

int services__not_installed_error ( svc_action_t op)

Definition at line 756 of file services_linux.c.

◆ services_os_get_directory_list()

GList* services_os_get_directory_list ( const char *  root,
gboolean  files,
gboolean  executable 
)

Definition at line 1416 of file services_linux.c.

◆ services_os_get_single_directory_list()

GList* services_os_get_single_directory_list ( const char *  root,
gboolean  files,
gboolean  executable 
)

Definition at line 1361 of file services_linux.c.

Variable Documentation

◆ last_sigchld_data

volatile struct sigchld_data_s* last_sigchld_data = NULL

Definition at line 143 of file services_linux.c.