From: Ulrich Drepper <drepper@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [BUG] ia32 ptrace on x86-64 broken for syscalls with 6 parameters
Date: Fri, 08 Oct 2004 15:47:28 -0700 [thread overview]
Message-ID: <41671900.3070408@redhat.com> (raw)
-----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-----
reply other threads:[~2004-10-08 22:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41671900.3070408@redhat.com \
--to=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.