VirtualBox 上的 insmod - 插入 jprobe 模块时出错。
我正在尝试创建一个内核模块,在 getdents 系统调用中(上?)植入 jprobe。到目前为止,我所拥有的只是从该网站获取的基本框架: http://www -users.cs.umn.edu/~boutcher/kprobes/。我的问题是编译后我无法插入模块。我得到的输出是:
sudo insmod ./final.ko
insmod: error inserting './final.ko': -1 Operation not permitted
我尝试制作最基本的模块,并且该模块已正确插入。我不知道可能出了什么问题,也不知道如何获取更多调试信息。我在 OS X 主机上的 VirtualBox 中运行 Ubuntu 11.10。我正在运行内核版本 3.0.0-12。
I am trying to create a kernel module that plants a jprobe in (on?) the getdents system call. All I have so far is the basic skeleton taken from this website: http://www-users.cs.umn.edu/~boutcher/kprobes/. My problem is that I cannot insert the module once it compiles. The output I get is:
sudo insmod ./final.ko
insmod: error inserting './final.ko': -1 Operation not permitted
I have tried making the most basic module possible, and this module is inserted correctly. I have no idea what could be wrong, and I do not know how to get any more debug information. I am running Ubuntu 11.10 in VirtualBox on an OS X host. I am running kernel version 3.0.0-12.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论