summaryrefslogtreecommitdiff
path: root/luaif
AgeCommit message (Expand)AuthorFilesLines
2009-03-23l10n: message catalogs are now mapped based on active exec policyMika Westerberg1-53/+0
2009-03-07Bugfix: When reversed_cwd cannot be resolved, real_cwd is used instead.Mika Westerberg1-0/+11
2009-03-07Fixed mapping of relative paths.Lauri Aarnio2-229/+260
2009-02-10Bugfix: "-A arch" option was not relayed to gcc configLauri Aarnio1-1/+1
2009-02-10Bugfix: script execution failed to find correct exec policyLauri Aarnio4-14/+95
2009-02-10Added support for SBOX_REDIRECT_FORCE environment variableLauri Aarnio1-35/+47
2009-02-10Bugfix: Added handling of AT_SYMLINK_NOFOLLOW to fchownat()Lauri Aarnio1-2/+4
2009-02-10Simplified support for SBOX_REDIRECT_IGNORE environment variableLauri Aarnio1-0/+53
2009-02-10Added a mechanism for finding currently active exec policyLauri Aarnio2-7/+23
2009-02-10Exec algorithm improvements: Policy-based mapping of script interpretersLauri Aarnio1-1/+128
2009-02-10Changed how "libsb2.so" is located from tools or native rootstrapsLauri Aarnio1-0/+8
2009-02-10Improved debug messages (of the the preload library)Lauri Aarnio3-5/+78
2009-02-10Bugfix: Changed log writing function to use nomap version of close().Mika Westerberg1-1/+1
2009-01-20Bugfix: Ensure that absolute paths are always registered to fdpathdbLauri Aarnio1-0/+10
2009-01-20Suppress unnecessary copies of an error messageLauri Aarnio1-2/+14
2009-01-20Removed debug marker function from preload library.Mika Westerberg2-34/+0
2009-01-15Fix typo and identify the string in debug logLauri Leukkunen1-9/+9
2009-01-15Fix pointer castsLauri Leukkunen1-2/+2
2009-01-10Adjusted debug message level in luaif.c:lua_sb_test_path_match()Lauri Aarnio1-1/+1
2008-12-11Fixed /proc/self/exe (and /proc/<MY_PID>/exe)Lauri Aarnio2-21/+87
2008-12-11Performance optimization: Support for rule trees (and restructured "devel" mode)Lauri Aarnio1-1/+1
2008-12-07Performance improvements: Implemented part of rule selection logic in CLauri Aarnio1-0/+86
2008-12-07Fixed building of sb2 itself on Debian "etch"Lauri Aarnio1-1/+5
2008-12-07emulate mode: target_root is now R/O for "normal" use, "sb2 -R" makes it R/WLauri Aarnio1-0/+9
2008-12-07Fixed mapping mode selection within persistent sessionsLauri Aarnio1-0/+9
2008-12-07Fixes for dirfd handling for openat(), faccessat(), etc *at() functionsLauri Aarnio2-1/+59
2008-12-07Added support for debugging x86 binaries under emulation mode.Mika Westerberg2-0/+36
2008-11-03Minor changes to C code, based on warnings from gcc 4.3.2Lauri Aarnio3-21/+58
2008-11-02Performance optimization: Load argvenvp.lua (and argvenvp_gcc.lua) on demand ...Lauri Aarnio1-0/+8
2008-11-02Optimized use of sb2's own environment variables - __SB2_BINARYNAME and __SB2...Lauri Aarnio2-34/+13
2008-11-02Eliminated env. var. "SBOX_ARGVENVP_MODE"; The value was not used at allLauri Aarnio1-6/+0
2008-10-23Added path reversing logic; getcwd() etc now return backward-mapped results -...Lauri Aarnio2-11/+94
2008-10-23Introduced basic support for exec_policy based localization.Mika Westerberg1-2/+52
2008-10-23Cpu transparency logic is now completely implemented in Lua. - "sbrsh" is now...Lauri Aarnio1-0/+14
2008-10-19Update to lua-5.1.4Lauri Leukkunen105-660/+1082
2008-10-18Fixes to preload library initialization - The preload library may be called e...Lauri Aarnio1-15/+2
2008-10-18More fixes to handling of exceptionally long pathnames (when getcwd() fails)Lauri Aarnio1-16/+57
2008-10-18Optimized C/Lua interface and path resolution logic (performance optimizations)Lauri Aarnio1-65/+100
2008-10-18Optimized use of getcwd() in luaif/paths.c - replaced getcwd() by getcwd_noma...Lauri Aarnio1-2/+2
2008-10-18Important bugfix to preload library initialization for multithreaded applicat...Lauri Aarnio2-45/+63
2008-10-18Logging routines now print process and thread ids for multithreaded programs ...Lauri Aarnio2-5/+20
2008-10-18sb2-show can be used to manually execute lua scripts in the sb2 context - add...Lauri Aarnio1-15/+34
2008-09-27Bugfix: Clean lua stack at read_string_variable_from_lua() - my bug, my fix..Lauri Aarnio1-0/+1
2008-09-27Added interface version check to the C/Lua script interface. - Backgroud: If ...Lauri Aarnio1-14/+41
2008-09-27Added "simple" logging format - Simple format minimizes varying information (...Lauri Aarnio1-9/+63
2008-09-27Bugfixes: Protect important environment variables - This commit fixes a bug w...Lauri Aarnio1-2/+14
2008-09-27Eliminated env.var. SBOX_LUA_SCRIPTS - replaced SBOX_LUA_SCRIPTS by SBOX_SESS...Lauri Aarnio1-20/+18
2008-09-27sb2-show can be used to query string variables from the Lua engine - Also int...Lauri Aarnio1-0/+24
2008-09-27Eliminated env.var. SBOX_MAPMODE; Mode is now passed thru files - sb2 does no...Lauri Aarnio2-29/+12
2008-09-27Workaround for a Linux/glibc memory allocation problem - ld.so (ld-linux.so.2...Lauri Aarnio1-0/+1