Magellan Linux

Annotation of /trunk/sandboxshell/patches/sandboxshell-1.1-libdir.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 565 byte(s)
-import

1 niro 153 --- sandboxshell-1.1/sandboxshell/sandboxshell 2004-05-12 22:36:24.000000000 +0000
2     +++ /home/tjoke/download/sandboxshell 2005-10-28 17:43:28.000000000 +0000
3     @@ -15,8 +12,11 @@
4     exit 1
5     }
6    
7     -export LD_PRELOAD=/lib/libsandbox.so
8     -export SANDBOX_LIB=/lib/libsandbox.so
9     +for SANDBOX_LIB in /lib /usr/lib ; do
10     + SANDBOX_LIB=${SANDBOX_LIB}/libsandbox.so
11     + [ -e ${SANDBOX_LIB} ] && break
12     +done
13     +export LD_PRELOAD=${SANDBOX_LIB}
14     export SANDBOX_LOG="/tmp/sandboxme-$(date '+%d.%m.%Y-%H.%M.%S').log"
15     export SANDBOX_DEBUG_LOG="${SANDBOX_LOG}.debug"
16     export SANDBOX_DENY=""