How do I open a file in a kernel module if calling process is in user space?

后端 未结 0 568
攒了一身酷
攒了一身酷 2020-12-24 12:57

I am trying to create a character device driver that dumps /etc/shadow when read from as a non-privileged user. This is for purely academic purposes of course.

I was

相关标签:
回答
  • 消灭零回复
提交回复
热议问题