Hi,
I am studying module programming. I can find out function addresses using 'kallsyms_lookup_name'. But, I am unable to access global variables this way. In particular, I am trying to access 'modules_op' declared in "kernel/module.c" from my test module. I am getting the following error during build
WARNING: "modules_op" [/tmp/kernel-module.ko] undefined!
'insmod' is also failing. Can somebody tell me how to find address of global variables ?
Thanks,
-Rahul S.
