/[path-sandbox]/trunk/sandbox.h
Gentoo

Diff of /trunk/sandbox.h

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

Revision 63 Revision 64
24 24
25/* Uncommend to not have the protected shell forked, just run in parent process */ 25/* Uncommend to not have the protected shell forked, just run in parent process */
26/* ONLY FOR DEBUGGING PURPOSES!! (strace needs it like that) */ 26/* ONLY FOR DEBUGGING PURPOSES!! (strace needs it like that) */
27/* #define NO_FORK */ 27/* #define NO_FORK */
28 28
29#define LD_PRELOAD_FILE "/etc/ld.so.preload" 29#define LD_PRELOAD_FILE "/etc/ld.so.preload"
30#define LIB_NAME "libsandbox.so" 30#define LIB_NAME "libsandbox.so"
31#define BASHRC_NAME "sandbox.bashrc" 31#define BASHRC_NAME "sandbox.bashrc"
32#define PIDS_FILE "/tmp/sandboxpids.tmp" 32#define PIDS_FILE "/tmp/sandboxpids.tmp"
33#define LOG_FILE_PREFIX "/tmp/sandbox-" 33#define LOG_FILE_PREFIX "/tmp/sandbox-"
34#define DEBUG_LOG_FILE_PREFIX "/tmp/sandbox-debug-" 34#define DEBUG_LOG_FILE_PREFIX "/tmp/sandbox-debug-"
35#define LOG_FILE_EXT ".log" 35#define LOG_FILE_EXT ".log"
36 36
37#define ENV_SANDBOX_DEBUG_LOG "SANDBOX_DEBUG_LOG" 37#define ENV_SANDBOX_DEBUG_LOG "SANDBOX_DEBUG_LOG"
38#define ENV_SANDBOX_LOG "SANDBOX_LOG" 38#define ENV_SANDBOX_LOG "SANDBOX_LOG"
39#define ENV_SANDBOX_DIR "SANDBOX_DIR" 39#define ENV_SANDBOX_DIR "SANDBOX_DIR"
40#define ENV_SANDBOX_LIB "SANDBOX_LIB" 40#define ENV_SANDBOX_LIB "SANDBOX_LIB"
41 41
42#define ENV_SANDBOX_DENY "SANDBOX_DENY" 42#define ENV_SANDBOX_DENY "SANDBOX_DENY"
43#define ENV_SANDBOX_READ "SANDBOX_READ" 43#define ENV_SANDBOX_READ "SANDBOX_READ"
44#define ENV_SANDBOX_WRITE "SANDBOX_WRITE" 44#define ENV_SANDBOX_WRITE "SANDBOX_WRITE"
45#define ENV_SANDBOX_PREDICT "SANDBOX_PREDICT" 45#define ENV_SANDBOX_PREDICT "SANDBOX_PREDICT"
46 46
47#define ENV_SANDBOX_ON "SANDBOX_ON" 47#define ENV_SANDBOX_ON "SANDBOX_ON"
48#define ENV_SANDBOX_BEEP "SANDBOX_BEEP" 48#define ENV_SANDBOX_BEEP "SANDBOX_BEEP"
49 49
50#define DEFAULT_BEEP_COUNT 3 50#define DEFAULT_BEEP_COUNT 3
51 51
52#if !HAVE_DLVSYM 52#if !HAVE_DLVSYM
53# define dlvsym(lib, sym, ver) dlsym(lib, sym) 53# define dlvsym(lib, sym, ver) dlsym(lib, sym)
54#endif 54#endif
55 55

Legend:
Removed from v.63  
changed lines
  Added in v.64

  ViewVC Help
Powered by ViewVC 1.1.20