Home > OS >  How the Linux kernel program and user interaction?
How the Linux kernel program and user interaction?

Time:10-02

How the Linux kernel program and user interaction?
What are the way to accomplish this, please give a collective code reference,,,

CodePudding user response:

The Kernel Space communication with the User Space:
1. System calls.
2. Proc file system.
3. The Sysfs file system.
4. Netlink Socket.
5. The Mmap (the Memory map.)
6. (Device) File and Signal.

BTW, For more infomation both please look up the kernel development book ULK/LDD LKD//ELDD.
The Reference Blog: https://www.cnblogs.com/dchipnau/p/5043591.html
  • Related