Injecting file to current process from KEXT
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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jakub Bednar