[parisc-linux] preliminary strace patch

Carlos O'Donell carlos at systemhalted.org
Tue Aug 14 07:46:09 MDT 2007


On 8/12/07, Helge Deller <deller at gmx.de> wrote:
> I noticed, that strace was pretty much useless/broken, if you use shared memory/ipc calls or the stat64() syscall.
>
> Example:
> root at c3000:~# strace df -h /
> [....]
> write(1, "Filesystem            Size  Used"..., 55Filesystem            Size  Used Avail Use% Mounted on
> ) = 55
> upeek: ptrace(PTRACE_PEEKUSER,29538,4294967292,0): Input/output error
>
> Below is a patch against strace-4.5.15 source package from sourceforge.
> Maybe it's useful to some people here, although it's not cleaned up/correct at all yet.
> Feedback/corrections (esp. for the new syscalls >= 295) are welcome, because I only focused on statfs64()/fstatfs64() at this moment.

Helge,

That's awesome! Please send it upstream, even it they ignore you,
atleast the patch will appear in the archives. I'm sure debian would
take a half-clean patch against strace as long as it only effected
hppa.

Cheers,
Carlos.



More information about the parisc-linux mailing list