We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19521bc + 85ee0ec commit 60bed94Copy full SHA for 60bed94
examples/syscall.c
@@ -24,9 +24,9 @@
24
#include <linux/uaccess.h>
25
26
/* The way we access "sys_call_table" varies as kernel internal changes.
27
- * - ver <= 5.4 : manual symbol lookup
28
- * - 5.4 < ver < 5.7 : kallsyms_lookup_name
29
- * - 5.7 <= ver : Kprobes or specific kernel module parameter
+ * - Prior to v5.4 : manual symbol lookup
+ * - v5.5 to v5.6 : use kallsyms_lookup_name()
+ * - v5.7+ : Kprobes or specific kernel module parameter
30
*/
31
32
/* The in-kernel calls to the ksys_close() syscall were removed in Linux v5.11+.
0 commit comments