NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/43611: kernel-trace (via ktruss) reports wrong parameter/result values



The following reply was made to PR kern/43611; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/43611: kernel-trace (via ktruss) reports wrong 
parameter/result values
Date: Wed, 10 Aug 2011 23:03:30 +0300

 I also ran into problems with ktruss recently, on NetBSD 5.0.1/i386.
 For example, an open() system call which ktrace + kdump reported like
 this:
 
  15159      1 testprog CALL  open(0xbb80208c,0,0xbfbfe7e8)
  15159      1 testprog NAMI  "/dev/rwd0a"
  15159      1 testprog RET   open 3
 
 ktruss reported like this:
 
  11230      1 testprog open("/etc/malloc.conf", 0, 0xbfbfe7e8) = 3
 
 Note how the argument "/dev/rwd0a" has turned into "/etc/malloc.conf".
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index