Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Intercepting file system calls (read, write, open, close, etc)



Hmmm.
--I'm not 100% sure of this, but I reckon you need an "IOMedia Filter Scheme" driver. 
--See http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFunda
--mentals/Families_Ref/chapter_11_section_15.html

This is quite low level, and you will have to deal with streams of data rather than file handles/file paths. 

1. Try VFS Stacking ? Or over-riding V-node ops ?

OR

2. Get Syscall table and modify the appropriate syscalls ?

OR

3. Modify environ variables that affect dynamic linking ?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.