clsync
Loading...
Searching...
No Matches
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)
 
#define privileged_fts_open(a, b, c, d)
 
#define privileged_fts_read(a, b)
 
#define privileged_fts_close(a, b)
 
#define privileged_inotify_init   inotify_init
 
#define privileged_inotify_init1   inotify_init1
 
#define privileged_inotify_add_watch(a, b, c, d)
 
#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)
Value:
{}

Definition at line 23 of file privileged.h.

◆ privileged_check

#define privileged_check ( ...)
Value:
{}

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,
b )
Value:
fts_close(a)

Definition at line 125 of file privileged.h.

◆ privileged_fts_open

#define privileged_fts_open ( a,
b,
c,
d )
Value:
fts_open(a,b,c)

Definition at line 123 of file privileged.h.

◆ privileged_fts_read

#define privileged_fts_read ( a,
b )
Value:
fts_read(a)

Definition at line 124 of file privileged.h.

◆ privileged_inotify_add_watch

#define privileged_inotify_add_watch ( a,
b,
c,
d )
Value:
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,
c )
Value:
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)
extern

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)
extern

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[]) ( const char * file,
char *const argv[] )
extern

Definition at line 173 of file privileged.c.

◆ _privileged_kill_child

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

Definition at line 174 of file privileged.c.