Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-05-09 | Add mapping exclusions for /usr/share/misc/config.* | Lauri Leukkunen | 2 | -0/+8 | |
These are autotools related. Signed-off-by: Lauri Leukkunen <lle@rahina.org> | |||||
2007-05-09 | Add mapping exclusion rule for /opt | Lauri Leukkunen | 1 | -0/+7 | |
Signed-off-by: Lauri Leukkunen <lle@rahina.org> | |||||
2007-04-22 | Work on debian path mappings | Lauri Leukkunen | 2 | -2/+16 | |
Signed-off-by: Lauri Leukkunen <lle@rahina.org> | |||||
2007-04-22 | Catch symlinks referring to themselves and break the resulting loop | Lauri Leukkunen | 1 | -0/+4 | |
Signed-off-by: Lauri Leukkunen <lle@rahina.org> | |||||
2007-04-12 | Add multiple mapping modes support | Lauri Leukkunen | 5 | -53/+83 | |
Mapping modes can be selected by exporting SBOX2_MAPMODE environment variable. Currently there are two, default and emulate. Signed-off-by: Lauri Leukkunen <lle@rahina.org> | |||||
2007-04-12 | apt mapping rule | Lauri Leukkunen | 1 | -0/+13 | |
Patch from: Santtu Lakkala <inz@inz.fi> Signed-off-by: Lauri Leukkunen <lle@rahina.org> | |||||
2007-03-12 | Prevent mapping leakage and add intltool support | Lauri Leukkunen | 3 | -8/+43 | |
With these changes SB2 will prevent accidental escaping from the target_root through symlinks. All paths are checked after mapping for symlinks, and they are fully resolved before returning. Maemo-mapper builds with these changes using "dpkg-buildpackage -rfakeroot -d". Signed-off-by: Lauri Leukkunen <lle@rahina.org> | |||||
2007-02-12 | Root directory mapping exception and file magic file support | Lauri Leukkunen | 2 | -0/+16 | |
Root directory needs to be exempted from mapping to prevent confusion. Magic files from /usr/share/file/ need to be left unmapped for the "file" binary. | |||||
2007-02-11 | Assorted autotools mappings fixes & linker argument passing | Lauri Leukkunen | 3 | -20/+35 | |
Create extra mapping chain and rules to get autotools and pkg-config work better. Still not sure if this is enough. Cross compiler argument passing in utils/sb2 is now done correctly and includes the -rpath-link flag which makes cross-compiler behave more like a non-cross-compiler. | |||||
2007-02-11 | Add libtool support | Lauri Leukkunen | 2 | -23/+27 | |
libtool can be installed for a scratchbox 2 target by doing: ./configure --prefix=$SBOX_TARGET_ROOT make make install | |||||
2007-01-17 | fakeroot/perl mappings | Valtteri Rahkonen | 1 | -3/+13 | |
* Modified perl mappig to nil, so that stuff under any directory containing perl would work. This is needed for debian tools because they have stuff under .*share and even under /etc/perl.*. * Added /usr/lib mapping to nil for sh, so that fakeroot would work. | |||||
2007-01-14 | * update copyrights and add license information | Lauri Leukkunen | 3 | -1/+6 | |
2007-01-14 | * change libsb2.c to not leak memory like a stabbed pig | Lauri Leukkunen | 6 | -228/+204 | |
* rework the mappings code again * add locking for the mapping cache | |||||
2007-01-11 | * make sb2 --verbose output debug log to $buildroot/sb2_mapping.log | Lauri Leukkunen | 1 | -3/+21 | |
2007-01-11 | * add --verbose switch to sb2 to enable debugging of the mapping | Lauri Leukkunen | 1 | -2/+6 | |
rules | |||||
2007-01-10 | * rework lua scripts to work a bit like iptables chains | Lauri Leukkunen | 3 | -93/+140 | |
2007-01-08 | * add support for openat() family of functions, removes the need for | Lauri Leukkunen | 3 | -1/+1 | |
nasty argv[] mapping for current versions of coreutils * do some preparations for future fuse support | |||||
2006-12-29 | * add argv[] mapping for ln and rm1.99.0.1 | Lauri Leukkunen | 1 | -0/+8 | |
2006-12-29 | * add timestamp validation to cache logic | Lauri Leukkunen | 1 | -1/+1 | |
* fix minor table indexing bug in main.lua | |||||
2006-12-27 | * working on host-gcc, almost there | Lauri Leukkunen | 2 | -17/+23 | |
2006-12-26 | * support installing files to */bin directories | Lauri Leukkunen | 1 | -0/+21 | |
2006-12-26 | * add a mapping cache, speeds things up enormously, almost to SB1 level | Lauri Leukkunen | 2 | -51/+47 | |
* fix a lot of subtle mis-behaviour by returning the untouched path in cases where no mapping took place. * mkdtemp can't use mapping at the moment, this should be revisited in the future. * add a few more mappings to default.lua, mainly autotools related * main.lua fills in sane defaults for missing values in rules, makes the rules files way cleaner and less verbose to write. | |||||
2006-12-23 | * now we're able to build glib | Lauri Leukkunen | 2 | -9/+49 | |
2006-12-22 | * cleanup | Lauri Leukkunen | 2 | -10/+5 | |
* fix relative path handling in main.lua | |||||
2006-12-22 | * rework everything to get rid of chroot requirement | Lauri Leukkunen | 2 | -25/+85 | |
2006-10-28 | * complete environment variable obedience campaign | Lauri Leukkunen | 1 | -0/+1 | |
* | |||||
2006-11-03 | * handle home directory correctly | Lauri Leukkunen | 1 | -2/+12 | |
2006-11-03 | * sort the redir_scripts/parts files alphabetically | Lauri Leukkunen | 1 | -0/+1 | |
2006-11-03 | * lua rules infrastructure functional, new rules go to redir_scripts/parts | Lauri Leukkunen | 3 | -35/+112 | |
directory, from which they'll be imported at run time. Look at sample.lua and default.lua for examples | |||||
2006-11-03 | * fix binary name passing to lua scripts, done through | Lauri Leukkunen | 1 | -2/+2 | |
__SB2_BINARYNAME environment variable. Not very clean, but works. The usual /proc/*/exe symlink doesn't work for due to the way the binaries are executed using ld-linux.so.2 | |||||
2006-08-09 | work on the lua rules system | Lauri Leukkunen | 1 | -1/+49 | |
2006-08-08 | * fix <asm/elf.h> issue on debian/sid | Lauri Leukkunen | 1 | -10/+12 | |
* add a configure check for ELF_ARCH, support EM_386 and EM_X86_64 * fix segfault when redir_scripts/parts directory is missing | |||||
2006-08-07 | map /etc and stop trying to install chroot-uid | Lauri Leukkunen | 1 | -0/+1 | |
2006-08-07 | realpath added and major rework of the path mapping code to make use of | Lauri Leukkunen | 1 | -46/+38 | |
it | |||||
2006-08-06 | general cleanup, remove hard coded paths and/or provide environment | Lauri Leukkunen | 1 | -1/+4 | |
variable configs | |||||
2006-08-06 | dynamic loader and readlink related fixes and developments | Lauri Leukkunen | 1 | -1/+8 | |
2006-08-06 | better debug messages, don't translate /proc | Lauri Leukkunen | 1 | -2/+4 | |
2006-08-06 | install redir_scripts/main.lua too | Lauri Leukkunen | 1 | -3/+3 | |
2006-08-05 | first helloworld binary compiled! | Lauri Leukkunen | 1 | -6/+68 | |
2006-08-04 | initial darcs -> git transition commit | Lauri Leukkunen | 2 | -0/+49 | |