summaryrefslogtreecommitdiff
path: root/lua_scripts
AgeCommit message (Expand)AuthorFilesLines
2008-12-11Fixed /proc/self/exe (and /proc/<MY_PID>/exe)Lauri Aarnio8-29/+60
2008-12-11Performance optimization: Support for rule trees (and restructured "devel" mode)Lauri Aarnio8-120/+202
2008-12-11"devel" mode: Mapped /usr/bin/localedef to target_rootLauri Aarnio1-0/+5
2008-12-07Workaround for a system call bug in older "libattr" libraries of ARM targetsLauri Aarnio1-0/+10
2008-12-07Bugfix for persistent sessions with multiple mapping modes vs. /sb2/wrappersLauri Aarnio4-3/+5
2008-12-07Performance improvements: Implemented part of rule selection logic in CLauri Aarnio1-40/+41
2008-12-07"devel" mode: Minor fixes (reordered some rules, etc)Lauri Aarnio1-10/+5
2008-12-07devel, simple & emulate modes: More general way to map home directoriesLauri Aarnio3-9/+17
2008-12-07"dpkg-checkbuilddeps" wrapper does not disable mapping anymoreLauri Aarnio1-0/+13
2008-12-07Added "tools" mapping modeLauri Aarnio1-0/+140
2008-12-07Support to start ARM binaries under qemu gdbserver.Mika Westerberg1-0/+2
2008-12-07Wrappers are now selected from modeconf.*Lauri Aarnio2-13/+8
2008-12-07"devel" and "emulate" modes: Mapped /var/run to a session-specific directoryLauri Aarnio2-0/+5
2008-12-07emulate mode: target_root is now R/O for "normal" use, "sb2 -R" makes it R/WLauri Aarnio2-13/+35
2008-12-07devel mode: target_root is now write-protected almost completelyLauri Aarnio1-43/+93
2008-12-07Fixed mapping mode selection within persistent sessionsLauri Aarnio2-4/+15
2008-12-07Devel mode: changed default mapping strategyLauri Aarnio1-3/+14
2008-12-07Emulate mode: Don't map /home (except /home/user)Lauri Aarnio1-1/+9
2008-12-07Added support for debugging x86 binaries under emulation mode.Mika Westerberg1-1/+10
2008-11-02Yet another fix to gcc tools exec preprocesing - something was still missing ...Lauri Aarnio1-4/+10
2008-11-02More fixes to gcc tools exec preprocesing - My previous patch was simply too ...Lauri Aarnio2-10/+32
2008-11-02Fixes to exec preprocessing: Processing of gcc tools requires abs.paths etc. ...Lauri Aarnio2-53/+90
2008-11-02Wrapped /sbin/ldconfig in emulation mode.Lauri Aarnio1-0/+4
2008-11-02Performance optimization: Load argvenvp.lua (and argvenvp_gcc.lua) on demand ...Lauri Aarnio1-1/+62
2008-11-02Minor fixes to Lua scripts: More variables are now "local"Lauri Aarnio3-7/+10
2008-11-02sb2 command: New option -O for setting mode-specific options (for debugging) ...Lauri Aarnio1-1/+9
2008-11-02devel mode: Added rules for /usr/lib/gcc, useful when gcc comes from tools_ro...Lauri Aarnio1-0/+1
2008-10-25Fixed exec policy based setting of LD_LIBRARY_PATH for native applications - ...Lauri Aarnio2-19/+96
2008-10-23Added path reversing logic; getcwd() etc now return backward-mapped results -...Lauri Aarnio4-6/+332
2008-10-23Introduced basic support for exec_policy based localization.Mika Westerberg3-13/+81
2008-10-23Cpu transparency logic is now completely implemented in Lua. - "sbrsh" is now...Lauri Aarnio1-1/+144
2008-10-18Moved host-* wrappers from /usr/bin to /sb2/wrappers (a new virtual directory...Lauri Aarnio2-0/+28
2008-10-18"emulate" mode bugfix: Disabled mangling of gcc & related commands - A mappin...Lauri Aarnio4-2/+17
2008-10-18"maemo" mode renamed to "devel" mode - "devel" mode = sotfware development mo...Lauri Aarnio1-20/+29
2008-10-18Optimized Lua code (and mapping logic/mapping rule interface) - "match" rules...Lauri Aarnio5-59/+20
2008-10-18Optimized C/Lua interface and path resolution logic (performance optimizations)Lauri Aarnio2-25/+22
2008-09-27Bugfix: Fixed compatibility with older qemu versions (in exec postprocessor)Lauri Aarnio1-0/+4
2008-09-27CPU transparency changes: Qemu is now handled by an exec postprocessor - Exec...Lauri Aarnio1-2/+67
2008-09-27Added interface version check to mapping rules and added default exec policie...Lauri Aarnio5-4/+110
2008-09-27"emulate" mode: Don't map the working directory where sb2 was started ...unle...Lauri Aarnio1-0/+13
2008-09-27Maemo mode: added mapping "/target_root" => rootstrap - provides clear, unmod...Lauri Aarnio1-0/+8
2008-09-27Added interface version check to the C/Lua script interface. - Backgroud: If ...Lauri Aarnio1-0/+8
2008-09-27Changes to executing native binaries from tools/target by ld.so - The default...Lauri Aarnio2-9/+19
2008-09-27Removed the only call to getenv from argvenvp.luaLauri Aarnio1-2/+1
2008-09-27Removed all calls to os.getenv() from argvenvp_gcc.lua - added several variab...Lauri Aarnio1-37/+24
2008-09-27Removed all calls to os.getenv() from pathmapping scripts - added several var...Lauri Aarnio4-51/+25
2008-09-27Removed variable "SBOX_COMPILER_ROOT" (which was set, but not used)Lauri Aarnio1-5/+0
2008-09-27Eliminated env.var. SBOX_LUA_SCRIPTS - replaced SBOX_LUA_SCRIPTS by SBOX_SESS...Lauri Aarnio2-7/+3
2008-09-27Cleanup: moved some globals and initialization code from mapping.lua to main.luaLauri Aarnio2-46/+25
2008-09-27Replaced env.var. SBOX_TOOLS_ROOT by conf.var. sbox_tools_rootLauri Aarnio1-5/+5