strace (or ptrace) still broken in 2.1.9

Michael Lausch (mla@gams.co.at)
Wed, 13 Nov 1996 12:52:28 +0100


After nstalling 2.1.9 and recompiling strace, i got the following
output when running strace in it's source directory:

[deleted]

open("/disk/StarOffice3.1/linux-x86/../linux-x86/lib/libc.so.5",O_RDONLY) = -1 ENOENT (No such file or directory)
open(ptrace: umoven: I/O error
0x4000814f, O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096

[deleted]

brk(0x8009000) = 0x8009000
stat(ptrace: umoven: I/O error
0x8008800, {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
open(ptrace: umoven: I/O error
0x8008800, O_RDONLY) = 3

[deleted]

fcntl(3, F_SETFD, FD_CLOEXEC) = 0
brk(0x800b000) = 0x800b000
getdents(3, /* 58 entries */, 4096) = 1188
getdents(3, /* 30 entries */, 4096) = 608
getdents(3, /* 0 entries */, 4096) = 0
close(3) = 0
brk(0x800d000) = 0x800d000
fstat(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40007000
ioctl(1, TCGETS, 0xbfffef5c) = -1 ENOTTY (Not a typewriter)
write(1, "COPYRIGHT\nCREDITS\nChangeLog\nI"..., 776) = 776
_exit(0)

I think there is a problem left with peeking at user memory using
ptrace. I hope only strace is affected and gdb isn't ;-)

---
g.a.m.s. edv dienstleistungen gmbh
finger mla@murmel.gams.at for PGP key
<http://www.gams.at/~mla>