阅读背景:

如何从内核空间读取/写入linux / proc文件?

来源:互联网 

I am writing a program consisting of user program and a kernel module. The kernel module needs to gather data that it will then "send" to the user program. This has to be done via a /proc file. Now, I create the file, everything is fine, and spent ages reading the internet for answer and still cannot find one. How do you read/write a /proc file I am writing a program consisting of user progr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: