| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This kills off recursive make entirely.
Closes: https://bugs.gentoo.org/819411
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
| |
Every subdir sets this var this way, so might as well unify it.
We keep very few files in here, so shouldn't be a future problem.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
| |
Provides a bit of a speed up.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In bug #774861 pash found out that /bin/sh -> busybox produces
invalid `sandbox` binary. It happens because `busybox sed` does
not implement hex escape insertions, like:
$ printf "a" | gnu-sed 's/a/\x00/' | hexdump -C
00000000 00 |.|
$ printf "a" | busybox sed 's/a/\x00/' | hexdump -C
00000000 78 30 30 |x00|
The change exposes `__SANDBOX_TESTING` variable to external users.
Reported-by: pash
Bug: https://bugs.gentoo.org/774861
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
| |
The menu entry for Sandbox is not very useful, so stop installing
it by default. Leave the files in place in case somebody wanted them.
Bug: https://bugs.gentoo.org/710920
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Mostly for testing purposes. This also tweaks the dependency to fix a
warning when generating the headers.h.pch in subdirs when the toplevel
headers.h.pch already exists.
URL: http://bugs.gentoo.org/425524
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
| |
Since all system headers are included by way of headers.h, we can
pre-compile this to speed up the build up a bit.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are a few major points we want to hit here:
- have all output from libsandbox go through portage helpers when we are
in the portage environment so that output is properly logged
- convert SB_E{info,warn,error} to sb_e{info,warn,error} to match style
of other functions and cut down on confusion
- move all abort/output helpers to libsbutil so it can be used in all
source trees and not just by libsandbox
- migrate all abort points to the centralized sb_ebort helper
Unfortunately, it's not terribly easy to untangle these into separate
patches, but hopefully this shouldn't be too messy as much of it is
mechanical: move funcs between files, and change the name of funcs
that get called.
URL: http://bugs.gentoo.org/278761
Reported-by: Mounir Lamouri <volkmar@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
Not everyone has the autoconf-archive package installed, so have the
autogen.sh script automatically update the local copies and include them
in the tree.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
| |
Now that we're using git rather than svn, update the ChangeLog generation
method accordingly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
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.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
|
|
| |
config directory for package specific configuration files.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
|
|
| |
generate ChangeLog.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
|
|
| |
provide all versions of specific functions. Some syntax cleanups.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
SB_STATIC in localdecls.h for this. Include sandbox_futils.c rather than
linking with its object. Hopefully this will fix bug #90153.
URL: http://bugs.gentoo.org/90153
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
Reported-by: Alexandre Rostovtsev <tetromino@gmail.com>
|
|
|
|
| |
Signed-off-by: Marius Mauch <genone@gentoo.org>
|
|
|
|
|
|
| |
from Makefile.am, and change the constructor/destructor names again.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
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.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|
|
Signed-off-by: Brian Harring <ferringb@gentoo.org>
|