Menu

#21 -e trace=file does not behave as man page says

other
closed-fixed
nobody
None
5
2006-10-11
2005-01-29
Robin Green
No

This is for strace 4.5.8. The man page says:

"-e trace=file
Trace all system calls which take a
file name as an argument."

But it also displays pread and pwrite system calls,
which do NOT take a file name as an argument. Isn't
this a bug? I would prefer for -e trace=file to do what
it says in the man page.

Discussion

  • Dmitry V. Levin

    Dmitry V. Levin - 2005-06-01

    Logged In: YES
    user_id=26437

    This is apparently more wide issue than just pread/pwrite.
    I've submitted a patch, see
    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159340

     
  • Dmitry V. Levin

    Dmitry V. Levin - 2006-10-11
    • status: open --> closed-fixed
     
  • Dmitry V. Levin

    Dmitry V. Levin - 2006-10-11

    Logged In: YES
    user_id=26437

    Was fixed in 4.5.13.