aboutsummaryrefslogtreecommitdiff
path: root/TODO
Commit message (Collapse)AuthorAgeFilesLines
* libsandbox: merge sandbox settings from tracee end when execingv3.0Mike Frysinger2021-11-021-2/+0
| | | | | | | | | | | | This allows traced children to change their sandox settings on the fly and the out-of-process tracer will react accordingly. We don't try to read the environ all the time as it's kind of impossible to know where the tracee is storing it (since it can point |environ| anywhere). This means turning the sandbox on/off won't work in the current process, only in forked children. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libsandbox: add sparc personality supportMike Frysinger2021-10-241-0/+3
| | | | | | | | | | | This allows tracing of sparc32 in a sparc64 multilib setup. Although it doesn't quite work -- the syscall table needs to be reloaded after the exec commits. We leave that out for now since there isn't actually a sparc32+sparc64 multilib port currently. Bug: https://bugs.gentoo.org/293632 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* TODO: add more work!Mike Frysinger2021-10-221-0/+20
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* TODO: note more work needed for message frameworkMike Frysinger2013-03-031-0/+13
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libsandbox: fix early var initMike Frysinger2013-02-241-0/+2
| | | | | | | | | | In commit 5498907383c7f1654188b6a0d02d8b03112a28c3, we tried to fix handling of ELFs that had their own constructors. Unfortunately, this broke use cases like `env -i` that screw with the environment before we get a chance to extract our settings. URL: http://bugs.gentoo.org/404013 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* TODO: drop old entries, and add logging onesMike Frysinger2012-06-231-6/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: fix vfork-1 failurev2.1Mike Frysinger2009-08-251-0/+3
| | | | | | | The vfork-1 test was a little broken and didn't test the results quite right. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libsandbox: force lock sanity across forksMike Frysinger2009-04-051-0/+6
| | | | | | | | | | | Classic example of forks being used in multithreaded applications and causing havoc with shared state (locks in this case). Make sure that threads grabbing the sandbox lock don't screw up threads that do a fork and then exec. URL: http://bugs.gentoo.org/263657 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reported-by: Ryan Hope <rmh3093@gmail.com>
* libsandbox: initial support for tracing of static binaries via ptrace()Mike Frysinger2009-03-181-3/+9
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libsandbox: add an eqawarn() funcMike Frysinger2009-03-181-0/+6
| | | | | | | | Break out most of the QA static ELF warning code into a new eqawarn() func. This way we can handle dynamic stuff like calling portage's eqawarn func to handle dirty details like logging. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libsandbox: add more exec wrappersMike Frysinger2009-03-111-5/+2
| | | | | | | | | | | | | While the execvp() is a common entry point, the other ones are often used as well. While they don't take environ pointers directly, the env could have been modified before calling the exec function, which means we need to restore our LD_PRELOAD setting. So now we support execv/execve/fexecve/popen/system. Missing from this list are the execl* funcs, but that's because they aren't exactly easy to interpose with the structure of their variable arguments. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* TODO: add more todoMike Frysinger2008-11-171-0/+6
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* TODO: add more itemsMike Frysinger2008-11-161-0/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* TODO: start a TODOMike Frysinger2008-11-161-0/+1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>