lkml.org 
[lkml]   [2004]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[BUG] ia32 ptrace on x86-64 broken for syscalls with 6 parameters
-----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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.356 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site