/[path-sandbox]/trunk/src/sandbox.c
Gentoo

Diff of /trunk/src/sandbox.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 282 Revision 283
43 43
44static int print_debug = 0; 44static int print_debug = 0;
45 45
46volatile static int stop_called = 0; 46volatile static int stop_called = 0;
47volatile static pid_t child_pid = 0; 47volatile static pid_t child_pid = 0;
48
49static char log_domain[] = "sandbox";
48 50
49extern char **environ; 51extern char **environ;
50 52
51int sandbox_setup(struct sandbox_info_t *sandbox_info) 53int sandbox_setup(struct sandbox_info_t *sandbox_info)
52{ 54{
460 char **sandbox_environ; 462 char **sandbox_environ;
461 char **argv_bash = NULL; 463 char **argv_bash = NULL;
462 464
463 char *run_str = "-c"; 465 char *run_str = "-c";
464 466
467 rc_log_domain(log_domain);
468
465 /* Only print info if called with no arguments .... */ 469 /* Only print info if called with no arguments .... */
466 if (argc < 2) 470 if (argc < 2)
467 print_debug = 1; 471 print_debug = 1;
468 472
469 if (print_debug) 473 if (print_debug)

Legend:
Removed from v.282  
changed lines
  Added in v.283

  ViewVC Help
Powered by ViewVC 1.1.20