How to artificially cause a page fault in linux kernel?

How can one create interface between kernel and LKM (Linux Kernel Module)?.

  • How can one intercept calls made by Kernel module to kernel without kedr using kernel module in c.  Or rephrase it as how can one create interface between kernel and Linux Kernel Module (LKM).

  • Answer:

    Can you be please more specific about the interface you need, what it does and what are its functionalities.

Nitin Chaudhary at Quora Visit the source

Was this solution helpful to you?

Other answers

I couldn't understand your question. You simply load the LKM to "interface with kernel". Some more info would help us answer.

Abhishek Bhardwaj

You have to design a frame work for your interface and expose to the rest of the kernel some primitives for using your frame work. Initialize your frame work from start_kernel function and there you go.

Sreecharan Sivadevuni

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.