aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-31 21:39:16 -0400
committerMike Frysinger <vapier@gentoo.org>2009-04-05 03:53:58 -0400
commit8528e918e24c22779e6bf802794e99f1418ec4ba (patch)
tree4f8c45858e980a4a4f34fee82b3a96fc27aafc65 /libsandbox/wrapper-funcs
parentbump to sandbox-1.8 (diff)
downloadsandbox-8528e918e24c22779e6bf802794e99f1418ec4ba.tar.gz
sandbox-8528e918e24c22779e6bf802794e99f1418ec4ba.tar.bz2
sandbox-8528e918e24c22779e6bf802794e99f1418ec4ba.zip
libsandbox: enable tracing for multiple personalities
Initial support for tracing non-default personalities. For example, tracing a 32bit binary from a 64bit environment. URL: http://bugs.gentoo.org/264399 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reported-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'libsandbox/wrapper-funcs')
-rw-r--r--libsandbox/wrapper-funcs/__wrapper_exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsandbox/wrapper-funcs/__wrapper_exec.c b/libsandbox/wrapper-funcs/__wrapper_exec.c
index 399e8ad..2c0894c 100644
--- a/libsandbox/wrapper-funcs/__wrapper_exec.c
+++ b/libsandbox/wrapper-funcs/__wrapper_exec.c
@@ -64,6 +64,7 @@ static void sb_check_exec(const char *filename, char *const argv[])
else
PARSE_ELF(64);
+ /* We only support tracing of host personality atm */
trace_main(filename, argv);
done: