[BUG] ia32 ptrace on x86-64 broken for syscalls with 6 parameters

From: Ulrich Drepper
Date: Fri Oct 08 2004 - 17:49:11 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Running an ia32 strace on x86-64 to look at an ia32 application which
uses syscalls which have six parameters (e.g., mmap2, fadvise64_64)
shows that the values reported to strace are bogus. The very same
program, strace, and glibc binaries on an ia32 machine show the correct
result. The system call (I tried mmap2) is also correctly executed.
I.e., it is the ptrace interface.

This happens with both, em64t and amd64 machines. In both cases the
vsyscall DSO was used.

This is with the current FC kernel which corresponds to rc3-bk6.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBZxkA2ijCOnn/RHQRAsKdAJ4klGY2WV4S1866evJWzOcqM8yhLQCeLN5S
9Jfk40pOpd7rW7ncJ1i51Ek=
=1O9f
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/