I'm running ubuntu 20 with some new kernel version 5.8.0-49-generic
and I'm writing a kernel module that want to lookup a kernel symbol. The kernel #CONFIG-KALLSYMS
is set to y
but I cant use kallsyms_lookup_name()
and kallsyms_lookup
as its not exported in newer kernel versions. I want to get the address of sys_call_table
which is exported as I can see it in/proc/kallsyms
so how can i get the address of symbols in newer kernel versions.
↧
How to lookup a symbol name address in newest kernel versions? [duplicate]
↧