Linux kernel jprobes是否已从内核v4中删除?
在中有一个Linux kernel jprobes是否已从内核v4中删除?,linux-kernel,kernel-module,kprobe,Linux Kernel,Kernel Module,Kprobe,在中有一个jprobe\u example.c。但它在我们的生活中缺失了。我试着编译具有内核v4的v3示例,它给了我jprobe\u example.ko,但当我尝试insmod它时,它失败了 insmod: ERROR: could not insert module jprobe_example.ko: Operation not permitted. /var/log/syslog表示注册失败,返回-38 另外两个示例是insmod-ed fine。所以,问题是,jprobes是否已从内
jprobe\u example.c
。但它在我们的生活中缺失了。我试着编译具有内核v4的v3示例,它给了我jprobe\u example.ko
,但当我尝试insmod
它时,它失败了
insmod: ERROR: could not insert module jprobe_example.ko: Operation not permitted.
/var/log/syslog
表示注册失败,返回-38
另外两个示例是
insmod
-ed fine。所以,问题是,jprobes是否已从内核v4中删除?为什么我可以编译模块而不能编译它?Linux内核中不推荐使用jprobes,并且在提交中删除了示例文件:
commit 9be95bdc53c12ada23e39027237fd05e1393d893
作者:平沼正美
日期:2017年10月6日星期五08:15:57+0900
kprobes:删除jprobes示例代码
删除jprobes示例模块,因为jprobes已弃用。
[...]
该提交被合并到4.15-rc1中
,无效系统呼叫号码的错误代码
commit 9be95bdc53c12ada23e39027237fd05e1393d893
Author: Masami Hiramatsu <mhiramat@kernel.org>
Date: Fri Oct 6 08:15:57 2017 +0900
kprobes: Remove the jprobes sample code
Remove the jprobes sample module because jprobes are deprecated.
[...]