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 /tests/script.at | |
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 'tests/script.at')
-rw-r--r-- | tests/script.at | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/script.at b/tests/script.at index 389a6c6..b344be9 100644 --- a/tests/script.at +++ b/tests/script.at @@ -2,3 +2,4 @@ m4_defun([SB_SECTION],[script]) SB_CHECK(1) SB_CHECK(2, [hi]) SB_CHECK(3, [OK]) +SB_CHECK(4) |