Messages in this thread | | | Subject | Re: Passthrough kernel module? | From | Gilad Ben-Yossef <> | Date | 09 Jun 2002 15:55:02 +0300 |
| |
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/
| |