diff options
author | Lauri Aarnio <Lauri.Aarnio@iki.fi> | 2009-01-29 19:31:22 +0200 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2009-02-10 08:38:10 +0200 |
commit | 1cdc38fbc7884e1cecbcb116ba850ddac2ab10e4 (patch) | |
tree | 0cc0a197a54a3406bb761406240ef1043699dc79 /LICENSE | |
parent | 31eb133d84f24ef1e0f888317a3a9a0c94729222 (diff) |
Simplified support for SBOX_REDIRECT_IGNORE environment variable
"SBOX_REDIRECT_IGNORE" is a feature from the old scratchbox 1: It can
be used to disable redirection of various paths during exec. This commit
adds a simplified, mostly compatible support to SB2. Since we don't have
a similar "redirector" as what the old SB1 had, this feature is implemented
by some special mapping rules in the devel mode and is only available
for two programs: : redirection of /usr/bin/perl and /usr/bin/python can
be disabled by this. For example, setting
SBOX_REDIRECT_IGNORE=/usr/bin/perl:/usr/bin/python
will force these two programs to be mapped to the rootstrap (while the
default is still to map them to tools_root)
Also included: new conditional action 'if_redirect_ignore_is_active = "path"'
makes all this possible (added to the rule execution engine in mapping.lua).
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions