Calling User-space program functions from Kernel modules
I want to call some user-space program functions from the kernel module that i am trying to change. I cannot copy the code of the user-space program in the kernel module as i do not have the required libraries for them. So, I was wondering if there is some way of me to be able to call a user-space program function from the kernel module such that I call the user-space function and then it returns back to the kernel module after execution of that part.
Is there some way to do this? Or is there someway to easily change the user-space code to kernel space. In the user space code I am reading files from the memory, and then acting on them, etc.