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

Diff of /trunk/sandbox.h

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

Revision 99 Revision 100
14#include "config.h" 14#include "config.h"
15 15
16/* Uncomment below to use flock instead of fcntl (POSIX way) to lock/unlock files */ 16/* Uncomment below to use flock instead of fcntl (POSIX way) to lock/unlock files */
17/* #define USE_FLOCK */ 17/* #define USE_FLOCK */
18 18
19#define LD_PRELOAD_EQ "LD_PRELOAD="
19#define LD_PRELOAD_FILE "/etc/ld.so.preload" 20#define LD_PRELOAD_FILE "/etc/ld.so.preload"
20#define LIB_NAME "libsandbox.so" 21#define LIB_NAME "libsandbox.so"
21#define BASHRC_NAME "sandbox.bashrc" 22#define BASHRC_NAME "sandbox.bashrc"
22#define TMPDIR "/tmp" 23#define TMPDIR "/tmp"
23#define VAR_TMPDIR "/var/tmp" 24#define VAR_TMPDIR "/var/tmp"
24#define PORTAGE_TMPDIR "/var/tmp/portage" 25#define PORTAGE_TMPDIR "/var/tmp/portage"
25#define PIDS_FILE "/sandboxpids.tmp" 26#define PIDS_FILE "/sandboxpids.tmp"
26#define LOG_FILE_PREFIX "/sandbox-" 27#define LOG_FILE_PREFIX "/sandbox-"
27#define DEBUG_LOG_FILE_PREFIX "/sandbox-debug-" 28#define DEBUG_LOG_FILE_PREFIX "/sandbox-debug-"
28#define LOG_FILE_EXT ".log" 29#define LOG_FILE_EXT ".log"
30
31#define ENV_LD_PRELOAD "LD_PRELOAD"
29 32
30#define ENV_TMPDIR "TMPDIR" 33#define ENV_TMPDIR "TMPDIR"
31#define ENV_PORTAGE_TMPDIR "PORTAGE_TMPDIR" 34#define ENV_PORTAGE_TMPDIR "PORTAGE_TMPDIR"
32 35
33#define ENV_SANDBOX_DEBUG_LOG "SANDBOX_DEBUG_LOG" 36#define ENV_SANDBOX_DEBUG_LOG "SANDBOX_DEBUG_LOG"

Legend:
Removed from v.99  
changed lines
  Added in v.100

  ViewVC Help
Powered by ViewVC 1.1.20