summaryrefslogtreecommitdiff
path: root/preload
AgeCommit message (Expand)AuthorFilesLines
2009-02-10Added a mechanism for finding currently active exec policyLauri Aarnio1-0/+5
2009-02-10Exec algorithm improvements: Policy-based mapping of script interpretersLauri Aarnio1-10/+25
2009-02-10reorganized code in sb_exec.c so; call prepare_envp_for_do_exec() only onceLauri Aarnio1-39/+53
2009-02-10fdpathdb: adjusted debug message levelsLauri Aarnio1-5/+5
2009-02-10Changed how "libsb2.so" is located from tools or native rootstrapsLauri Aarnio1-0/+1
2009-02-10Bugfix: Changed log writing function to use nomap version of close().Mika Westerberg1-1/+2
2009-01-20Added wrappers for close(), dup() and dup2()Lauri Aarnio3-30/+83
2009-01-20Bugfix: Ensure that absolute paths are always registered to fdpathdbLauri Aarnio1-4/+12
2009-01-20Bugfix to glob(): Removed side-effects caused by the Mac OS X patchesLauri Aarnio3-2/+29
2009-01-20Added new function base_version() to sb2.Mika Westerberg1-1/+2
2009-01-15Bugfix to preload/glob.h: added missing newlineLauri Aarnio1-1/+1
2009-01-10Builds for OS X 10.4 with these changesLauri Leukkunen3-2/+9
2008-12-30This version compiles on os xJoshua Pollak5-18/+16
2008-12-30More OS X compatibility changes - addded mempcpy (and check in configure.ac f...Joshua Pollak5-5/+371
2008-12-30Added "#define __THROW" to null define __THROW on platforms that have __APPLE...Joshua Pollak2-4/+7
2008-12-30Added procfs.c, which was left out from an earlier commitLauri Aarnio1-0/+149
2008-12-11Fixed /proc/self/exe (and /proc/<MY_PID>/exe)Lauri Aarnio4-16/+31
2008-12-11Added wrapper for "ldd"Lauri Aarnio4-3/+45
2008-12-07A bizarre bugfix to glob()Lauri Aarnio1-0/+10
2008-12-07Made it possible to change mapping modes on the flyLauri Aarnio1-2/+32
2008-12-07interface generator: generated code checks if the real function is missingLauri Aarnio1-0/+22
2008-12-07emulate mode: target_root is now R/O for "normal" use, "sb2 -R" makes it R/WLauri Aarnio2-2/+19
2008-12-07Fixed mapping mode selection within persistent sessionsLauri Aarnio2-11/+33
2008-12-07Fixes for dirfd handling for openat(), faccessat(), etc *at() functionsLauri Aarnio6-13/+268
2008-11-03Minor changes to C code, based on warnings from gcc 4.3.2Lauri Aarnio1-10/+29
2008-11-02Bugfix: inspect_binary() crashed when the file was empty - min.size of an exe...Lauri Aarnio1-0/+8
2008-11-02Optimized use of sb2's own environment variables - __SB2_BINARYNAME and __SB2...Lauri Aarnio3-9/+20
2008-10-23Added path reversing logic; getcwd() etc now return backward-mapped results -...Lauri Aarnio2-10/+73
2008-10-23Introduced basic support for exec_policy based localization.Mika Westerberg4-11/+265
2008-10-23Cpu transparency logic is now completely implemented in Lua. - "sbrsh" is now...Lauri Aarnio1-166/+5
2008-10-18For x86_64, both 386 and x86_64 binaries are hostLauri Leukkunen1-1/+6
2008-10-18sb_exec.c: small fixes: improved the way how missing executables are handledLauri Aarnio1-1/+14
2008-10-18sb_exec.c cleanup: "sb2-show exec" now displays all exec param.modification -...Lauri Aarnio1-215/+158
2008-10-18Fixes to preload library initialization - The preload library may be called e...Lauri Aarnio3-2/+69
2008-10-18Interface generator: modifier create_nomap_nolog_version is available for GAT...Lauri Aarnio2-12/+11
2008-10-18sb2-show can be used to manually execute lua scripts in the sb2 context - add...Lauri Aarnio1-0/+1
2008-09-27Export dlmopen only for post glibc-2.3.4Lauri Leukkunen1-1/+2
2008-09-27Fix sb2 building with older perl (5.8)Lauri Leukkunen1-1/+1
2008-09-27CPU transparency changes: Qemu is now handled by an exec postprocessor - Exec...Lauri Aarnio1-15/+50
2008-09-27Bugfixes: Protect important environment variables - This commit fixes a bug w...Lauri Aarnio2-36/+84
2008-09-27Cleanup: Replaced more environment variables by conf.vars (part 2) - SBOX_UNA...Lauri Aarnio2-15/+34
2008-09-27Replaced env.var. SBOX_TARGET_ROOT by conf.var. sbox_target_rootLauri Aarnio1-3/+3
2008-09-27sb2-show can be used to query string variables from the Lua engine - Also int...Lauri Aarnio1-0/+1
2008-09-27Eliminated env.var. SBOX_MAPMODE; Mode is now passed thru files - sb2 does no...Lauri Aarnio1-2/+3
2008-09-27Workaround for a Linux/glibc memory allocation problem - ld.so (ld-linux.so.2...Lauri Aarnio3-1/+124
2008-09-27Implemented policy-based execution of native binaries. - Exec policies can be...Lauri Aarnio1-94/+109
2008-09-27Added four wrappers (__xmknodat(),__fxstatat(),__fxstatat64(),fstatat64())Lauri Aarnio1-0/+10
2008-09-27sb_execve_mod and sbox_execve_mod renamed to exec preprocessing functionsLauri Aarnio1-4/+4
2008-09-27sb_exec.c cleanup (most functions are now "static") + added 3 warning messagesLauri Aarnio1-6/+25
2008-09-27Bugfix to temp.name template postprocessorLauri Aarnio1-18/+22