Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

How to lookup a symbol name address in newest kernel versions? [duplicate]

$
0
0

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.


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>