open file in kthread on behalf of user process
I am writing a kernel module which would start a kthread when a user process calls to it (using iotcl).
How can i open a file using this kthread on behalf of user process, that is, when it returns to user space the process could use this file!?
|