Communication between Linux kernel and user space program

后端 未结 2 449
天涯浪人
天涯浪人 2021-02-01 00:03

I\'m currently writing a Linux kernel module, and have problems implementing its communication with user space programs.

This kernel module needs to receive tasks issued

2条回答
  •  太阳男子
    2021-02-01 00:24

    Instead of using normal sockets, proc fs and implementing a new system call, Use netlink sockets which offers full duplex communication between user space programs and kernel modules.

提交回复
热议问题