clsync
Macros | Functions | Variables
privileged.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IF_HL_LOCK_TRIES_AUTO(a)   {}
 
#define privileged_check(...)   {}
 
#define privileged_lstat64(a, b, c)   lstat64(a,b)
 
#define privileged_fts_open(a, b, c, d)   fts_open(a,b,c)
 
#define privileged_fts_read(a, b)   fts_read(a)
 
#define privileged_fts_close(a, b)   fts_close(a)
 
#define privileged_inotify_init   inotify_init
 
#define privileged_inotify_init1   inotify_init1
 
#define privileged_inotify_add_watch(a, b, c, d)   inotify_add_watch(a,b,c)
 
#define privileged_inotify_rm_watch   inotify_rm_watch
 
#define privileged_waitpid   waitpid
 
#define privileged_kill_child   _privileged_kill_child
 
#define privileged_fork_execvp   _privileged_fork_execvp
 

Functions

int privileged_init (struct ctx *ctx_p)
 
int privileged_deinit (struct ctx *ctx_p)
 

Variables

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

Macro Definition Documentation

◆ IF_HL_LOCK_TRIES_AUTO

#define IF_HL_LOCK_TRIES_AUTO (   a)    {}

Definition at line 23 of file privileged.h.

◆ privileged_check

#define privileged_check (   ...)    {}

Definition at line 120 of file privileged.h.

◆ privileged_fork_execvp

#define privileged_fork_execvp   _privileged_fork_execvp

Definition at line 148 of file privileged.h.

◆ privileged_fts_close

#define privileged_fts_close (   a,
 
)    fts_close(a)

Definition at line 125 of file privileged.h.

◆ privileged_fts_open

#define privileged_fts_open (   a,
  b,
  c,
 
)    fts_open(a,b,c)

Definition at line 123 of file privileged.h.

◆ privileged_fts_read

#define privileged_fts_read (   a,
 
)    fts_read(a)

Definition at line 124 of file privileged.h.

◆ privileged_inotify_add_watch

#define privileged_inotify_add_watch (   a,
  b,
  c,
 
)    inotify_add_watch(a,b,c)

Definition at line 128 of file privileged.h.

◆ privileged_inotify_init

#define privileged_inotify_init   inotify_init

Definition at line 126 of file privileged.h.

◆ privileged_inotify_init1

#define privileged_inotify_init1   inotify_init1

Definition at line 127 of file privileged.h.

◆ privileged_inotify_rm_watch

#define privileged_inotify_rm_watch   inotify_rm_watch

Definition at line 129 of file privileged.h.

◆ privileged_kill_child

#define privileged_kill_child   _privileged_kill_child

Definition at line 147 of file privileged.h.

◆ privileged_lstat64

#define privileged_lstat64 (   a,
  b,
 
)    lstat64(a,b)

Definition at line 122 of file privileged.h.

◆ privileged_waitpid

#define privileged_waitpid   waitpid

Definition at line 133 of file privileged.h.

Function Documentation

◆ privileged_deinit()

int privileged_deinit ( struct ctx 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 ( struct ctx 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

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.