Parent Directory | Revision Log
|Links to HEAD:||(view) (download) (annotate)|
add a script to quickly test locally built libsandbox
move build flags to configure rather than Makefile
Split out environment related functions, and make their naming a bit more sane.
Move libsandbox to its own directory.
As we are using a symbol map for libsandbox, its no longer needed to have all the internal functions static, and thus we can break things out a bit and make the source layout more sane. Start by moving librcutil to libsbutil, and adding all the defines and helper functions needed by both libsandbox and sandbox.
Rather link libsandbox against librcutil's libtool objects (.lo), as it should be more portable, but do add the extra fat.
Add needed changes to get a working sandbox on FreeBSD. Patch by Alex Unleashed <firstname.lastname@example.org>.
Set default values via a config file. Also support sandbox.d config directory for package specific configuration files.
Remove last libsandbox-only functions in favour for ones provided by librcutil. Setup log_domain properly for debugging.
More configure related cleanups. Define HAVE_RTLD_NEXT via config.h.
More changes to try and resolve OSes with generic getcwd() implementations.
Split sandbox_on stuff out to libsandbox.h. Only enable if we do not have RTLD_NEXT.
Rather check for RTLD_NEXT than glibc. Some other cleanups.
Add checks for bsd that have dlopen() in libc.
Rename sandbox_futils.c to sandbox_utils.c. Add gstrndup() and gbasename() to sandbox_utils.c. Add check for glibc, and fixup things to not need glibc only extensions if not needed for versioned symbols.
Rename src/symbols.in to src/symbols.h.in.
Remove the SB_STATIC and including of getcwd.c, etc voodoo, as we new use a symbol map, and all non-exported symbols are local. Cleanup getcwd.c, as the generic getcwd for older 2.4 kernels do not work properly anyhow, and just makes things slower. Some other warning fixes.
Small syntax cleanup.
Use versioned symbols on supported libc's for functions we wrap, as well as provide all versions of specific functions. Some syntax cleanups.
Reorder source layout.
Really remove libctest.c
whitespace fixes and move LIBC_VERSION to config.h
Make sure all functions used in libsandbox.c is declared static. Define SB_STATIC in localdecls.h for this. Include sandbox_futils.c rather than linking with its object. Hopefully this will fix bug #90153.
dropping duplicate symbols
Seems -nostdlib was the problem with the constructor/destructor - remove it from Makefile.am, and change the constructor/destructor names again.
correct symbols.h building when libdir !+ "/lib"
Fix symbols.in not added to dist.
White space fixes.
Fix inverse test logic in canonicalize.c, use a strncpy. Fix gcc warning in getcwd.c. Add symbols.in and logic to Makefile.am to generate symbol versions for glibc and other libc's that use this. Update libsandbox.c to use these symbol versions if available. Fix exec wrapper to re-export LD_PRELOAD if the process unset it.
hopefully cvs is done being stupid. Compilation fixes, along w/ make dist fix.
should make things compile again
turn create-localdecls into semi-autotooled
adjustment so it stops installing a couple of extra srcs to /usr/share.
corrections to remove hardcoded paths.
removed the /usr/lib/portage/ hardcoded reference for bashrc.
nuke the creation of a gz for dist target.
final make dist tweak. stupid bugger.
corrections for make dist, include canocicalize.c
changed the dist target to include building bz2'd tarballs.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.20|