From: James Cownie <jcownie@etnus.com>
To: linux-kernel@vger.kernel.org
Subject: PROBLEM: ptrace access to syscall page of 32 bit process on x86_64 fails
Date: Thu, 16 Sep 2004 17:53:08 +0100 [thread overview]
Message-ID: <20040916165308.C01EE1DA71@amd64.cownie.net> (raw)
Running Suse 9.1 on an Opteron 242 uniprocessor,
Using gdb (or TotalView) to debug a 32 bit process ptrace calls which
try to access the system call page at 0xffffe000 fail.
When run on a 32 bit x86 ptrace can successfully access the system call
page.
To reproduce simply use gdb on a -m32 program, set a breakpoint, run to
it and then try to "print *(0xffffe000)"
The relevant ptrace call (a PEEKDATA), return with errno 5 (EIO).
Details of the machine :-
Linux amd64 2.6.5-7.108-default #1 Wed Aug 25 13:34:40 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux
Gnu C 3.3.3
Gnu make 3.80
binutils 2.15.90.0.1.1
util-linux 2.12
mount 2.12
module-init-tools 3.0-pre10
e2fsprogs 1.34
jfsutils 1.1.5
xfsprogs 2.6.3
quota-tools 3.11.
PPP 2.4.2
nfs-utils 1.0.6
Linux C Library 06 01:50 /lib64/tls/libc.so.6
Dynamic linker (ldd) 2.3.3
Linux C++ Library 5.0.5
Procps 3.2.1
Net-tools 1.60
Kbd 1.12
Sh-utils 5.2.1
Modules Loaded usbserial parport_pc lp parport nfsd exportfs joydev sg
st sr_mod floppy ehci_hcd uhci_hcd evdev
snd_seq_oss snd_seq_midi_event snd_seq
snd_pcm_oss snd_mixer_oss snd_ioctl32 ipv6
freq_table thermal processor fan button battery
ac snd_via82xx snd_pcm snd_timer snd_ac97_codec
snd_page_alloc gameport snd_mpu401_uart
snd_rawmidi snd_seq_device snd soundcore usbcore
tg3 binfmt_misc subfs dm_mod reiserfs sym53c8xx
sd_mod scsi_mod
--
-- Jim
--
James Cownie <jcownie@etnus.com>
Etnus, LLC. +44 117 9071438
http://www.etnus.com
reply other threads:[~2004-09-16 16:53 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=20040916165308.C01EE1DA71@amd64.cownie.net \
--to=jcownie@etnus.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®