clsync
Functions | Variables
privileged.c File Reference
#include "common.h"
#include "ctx.h"
#include "error.h"
#include "syscalls.h"
#include "main.h"
#include "pthreadex.h"
#include "malloc.h"
#include <unistd.h>
#include <glib.h>
#include "privileged.h"
Include dependency graph for privileged.c:

Go to the source code of this file.

Functions

int __privileged_kill_child_itself (pid_t child_pid, int signal, char ignoreerrors)
 
int __privileged_fork_execvp (const char *file, char *const argv[])
 
int privileged_init (ctx_t *ctx_p)
 
int privileged_deinit (ctx_t *ctx_p)
 

Variables

int(* _privileged_fork_execvp )(const char *file, char *const argv[])
 
int(* _privileged_kill_child )(pid_t pid, int sig, char ignoreerrors)
 
uid_t __privileged_fork_execvp_uid
 
gid_t __privileged_fork_execvp_gid
 

Function Documentation

◆ __privileged_fork_execvp()

int __privileged_fork_execvp ( const char *  file,
char *const  argv[] 
)

Definition at line 1807 of file privileged.c.

Here is the caller graph for this function:

◆ __privileged_kill_child_itself()

int __privileged_kill_child_itself ( pid_t  child_pid,
int  signal,
char  ignoreerrors 
)

Definition at line 501 of file privileged.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ privileged_deinit()

int privileged_deinit ( ctx_t ctx_p)

Definition at line 2087 of file privileged.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ privileged_init()

int privileged_init ( ctx_t ctx_p)

Definition at line 1909 of file privileged.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ __privileged_fork_execvp_gid

gid_t __privileged_fork_execvp_gid

Definition at line 1806 of file privileged.c.

◆ __privileged_fork_execvp_uid

uid_t __privileged_fork_execvp_uid

Definition at line 1805 of file privileged.c.

◆ _privileged_fork_execvp

int( * _privileged_fork_execvp) (const char *file, char *const argv[])

Definition at line 173 of file privileged.c.

◆ _privileged_kill_child

int( * _privileged_kill_child) (pid_t pid, int sig, char ignoreerrors)

Definition at line 174 of file privileged.c.