lkml.org 
[lkml]   [2002]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Passthrough kernel module?
From
Date
On Sat, 2002-06-08 at 23:24, David Lang wrote:
> I am attempting to reverse engineer the interface for a piece of equipment
> and it would be extreamly handy to have a kernel module that I could load
> that I could then point a /dev entry and and have the module echo
> everything that is sent to it (reads/writes/ioctls) to the real device,
> recording the request and response.
>
> Does such a module exist? Is there a better way to do this that I'm
> missing?

Much better way:

1. Grab the CVS version of syscall-track from
http://syscalltrack.sourceforge.net/ (AFAIK the stable version doesn't
support read/write yet).
2. Define logging rules on read/write/ioctl on the specific device.
3. Enjoy ;-)

Gilad.

--
Gilad Ben-Yossef <gilad@benyossef.com>
Code mangler, senior coffee drinker and VP SIGSEGV
Qlusters ltd.

"A billion flies _can_ be wrong - I'd rather eat lamb chops than shit."
-- Linus Torvalds on lkml




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.029 / U:4.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site