VirtualBox 上的 insmod - 插入 jprobe 模块时出错。

发布于 2024-12-19 02:10:20 字数 459 浏览 1 评论 0原文

我正在尝试创建一个内核模块,在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文