[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1269410673.29577.1.camel@wimax-desktop>
Date: Wed, 24 Mar 2010 12:04:33 +0600
From: Sergey Malykhin <sergey.malykhin@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Need to intercept open&write calls for vdi file when VirtualBox is
working.
Hi,
My problem - I have to intercept open&write function calls to .vdi file
when VirtualBox is working to control which sectors of vdi file were
changed, i.e. I need to get 1. what file was open for writing; 2. data
from buffer; 3. size of data; 4. offset in file;
I tryed:
- LD_PRELOAD - not helped
- using fuse - rewrote write call and successfully
intercepted, but fuse is slow.
I have possibilities to patch ext3 or patch inotify.
Is there any better way to do it?
TIA
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists