I would like to implement a OSX file system calls interception.
(read, write, open, close, etc)
I would like to have full control so I can overwrite these calls or
let the system handle them.
I have looked at all the Apple's OSX kext device examples but did not
find what I was looking for.
OSX 10.3, Xcode 1.5
PS - my implementation does not have to be wide, it can be
application based
Any advice, help, pointers, sample projects. etc would be much
appreciated.
Your best bet for this will be to override the various library calls at
the application level;
all applications ultimately call through libSystem.
The dyld manpage describes inserting libraries into the runtime link
order; within your
override functions you can then call through into the covered functions
(this is the utility
of the two-level namespace).
_______________________________________________
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