Is there a way to ensure that a kernel module runs in a specific process context? -


Actually, how can I ensure that in my module, a specific process is current I have seen the kick_process , but I'm not sure that after executing my module in the context of that process, after kicking it in kernel mode,

I found this, but this is not the answer. I believe the answer to my question can also help in the form of that questioner too.

Note: I know that if I need a task_struct of a process, I can see that I am interested in running in a specific context because I want to call the function < Reference> .

In the context of a particular process in the kernel, I am the best way to do anything, reference to the process Have a sleep in (wait * family of work) and wake up that thread and whatever you need to do, it will mean that you have to apply to the kernel through IOCLL and sleep on some other soda And whenever you need to do something So wake it up. It seems a very widely used and popular system

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -