Injecting file to current process from KEXT
Injecting file to current process from KEXT
- Subject: Injecting file to current process from KEXT
- From: Jakub Bednar <email@hidden>
- Date: Fri, 19 Oct 2012 11:14:21 +0200
Hi everyone,
Do you know about any way, how to open a file from KEXT so it gets inserted into a file descriptor
table of the current process? I am trying to save an unneeded context switch caused by the process
calling open() right after it returns from the KEXT.
In Kernel.framework, there is a sys/vnode_if.h file mentioning a VNOP_OPEN call, but there is no
declaration of this method. I think I need the kernel function that syscall 2 open() uses.
Can anyone please help me out?
Thanks a lot,
Jakub
_______________________________________________
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