client/sandbox.cpp File Reference

(r16139/r16069)

#include <sys/types.h>
#include <sys/wait.h>
#include <grp.h>
#include <errno.h>
#include "error_numbers.h"
#include "file_names.h"
#include "util.h"
#include "str_util.h"
#include "filesys.h"
#include "parse.h"
#include "client_state.h"
#include "sandbox.h"

Include dependency graph for sandbox.cpp:


Functions

void kill_via_switcher (int pid)
int get_project_gid ()
int set_to_project_group (const char *path)
int switcher_exec (const char *util_filename, const char *cmdline)
int remove_project_owned_file_or_dir (const char *path)
int delete_project_owned_file (const char *path, bool retry)
int client_clean_out_dir (const char *dirpath)
int remove_project_owned_dir (const char *name)

Variables

bool g_use_sandbox = false

Function Documentation

int client_clean_out_dir ( const char *  dirpath  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int delete_project_owned_file ( const char *  path,
bool  retry 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int get_project_gid (  ) 

Here is the caller graph for this function:

void kill_via_switcher ( int  pid  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int remove_project_owned_dir ( const char *  name  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int remove_project_owned_file_or_dir ( const char *  path  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int set_to_project_group ( const char *  path  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int switcher_exec ( const char *  util_filename,
const char *  cmdline 
)

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

bool g_use_sandbox = false


Generated on Mon Oct 6 10:39:21 2008 for BOINC by  doxygen 1.5.6