diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-11 10:35:38 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-11 10:43:43 -0400 |
commit | 5071f86083ca028e86500ec2459894e57245ad05 (patch) | |
tree | 5e3b335f2562213e0417c8e2068842e38c6d4c47 /TODO | |
parent | libsandbox: dump exec QA static notice to /dev/tty (diff) | |
download | sandbox-5071f86083ca028e86500ec2459894e57245ad05.tar.gz sandbox-5071f86083ca028e86500ec2459894e57245ad05.tar.bz2 sandbox-5071f86083ca028e86500ec2459894e57245ad05.zip |
libsandbox: add more exec wrappers
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>
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -4,8 +4,5 @@ cache results of filesystem checks add tests to make sure errno is saved/restored properly -z handling in sp_printf - -running tests inside of sandbox inside of sandbox - -make distcheck -- path to config files fail +wrappers for execl{,l,p} ... unfortunately, we'll probably have to basically +reimplement the functions (building up argv[] and then call the execv* ver) |