please describe loops_per_jiffy and boot_cpu_data
Please can anyone give me information about these things:
Two variable are there about which i want to know
1. loops_per_jiffy present in linux/delay.h
2. boot_cpu_data present in asm/processor.h
If suppose i run a for loop from &loops_per_jiffy to &boot_cpu_data ,
what all things will i get.
thanks in advance
solution to getting sys_call_table
As the sys_call_table is no longer exported i.e. not allowed to reference just bye specifying the sys_call_table.
So to find sys_call_table i did a trick.
Though sys_call_table is no longer exported still u can find a entry for it in System.map.
This file stores the address of variable and functions.
So in System.map file if one searches from loops_per_jiffy to boot_cpu_data , one can the address of sys_call_table directly and then play with system calls.
Restoring the pointer of sys_call_table is again a tricky thing which can be tried a hand at.