aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-15 01:58:03 -0400
committerMike Frysinger <vapier@gentoo.org>2010-08-15 01:58:03 -0400
commitafc1421f1e629c28ae6fb3d71f08a7baffde8f42 (patch)
tree53fce5f09c14172893710a85d8cb9630d66df9c1 /libsandbox
parentgive src/sandbox.sh its own AC_CONFIG_FILES (diff)
downloadsandbox-afc1421f1e629c28ae6fb3d71f08a7baffde8f42.tar.gz
sandbox-afc1421f1e629c28ae6fb3d71f08a7baffde8f42.tar.bz2
sandbox-afc1421f1e629c28ae6fb3d71f08a7baffde8f42.zip
libsandbox: disable sparc ptrace until it can be debugged further
URL: http://bugs.gentoo.org/293632 Reported-by: Raúl Porcel <armin76@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r--libsandbox/trace/linux/sparc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsandbox/trace/linux/sparc.c b/libsandbox/trace/linux/sparc.c
index 72cafc7..f1d91e1 100644
--- a/libsandbox/trace/linux/sparc.c
+++ b/libsandbox/trace/linux/sparc.c
@@ -1,3 +1,6 @@
+#define SB_NO_TRACE_ARCH
+#if 0 /* XXX: broken sometimes #293632 */
+
/* Indexes into the pt_regs.u_reg[] array -- UREG_XX from kernel are all off
* by 1 and use Ix instead of Ox. These work for both 32 and 64 bit Linux.
*/
@@ -27,3 +30,5 @@ static unsigned long trace_arg(void *vregs, int num)
else
return -1;
}
+
+#endif