Re: Figuring out context of file in an IOFilterScheme driver
Re: Figuring out context of file in an IOFilterScheme driver
- Subject: Re: Figuring out context of file in an IOFilterScheme driver
- From: Quinn The Eskimo! <email@hidden>
- Date: Tue, 16 Jul 2013 18:00:37 +0100
On 16 Jul 2013, at 17:27, Misha Pak <email@hidden> wrote:
> Is there still a way to obtain that information via some other, "side" information?
No. The problem is that disk I/O can be initiated from all sorts of unusual environments (like async I/O, and the VM subsystem) where out-of-band context information, like the current process, are not useful. That's why VFS plug-ins get a vfs_context_t parameter, but that information is not passed down to the I/O Media layer.
> There just HAS to be a way to do some sort of file-based filtering in the kernel... :-)
I admire your confidence (-:
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden