Find the answer to your Linux question:
Results 1 to 2 of 2
hi all, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Location
    Bangalore
    Posts
    15

    please describe loops_per_jiffy and boot_cpu_data


    hi all,

    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.

    Do reply

    thanks in advance

  2. #2
    Just Joined!
    Join Date
    Dec 2004
    Location
    Bangalore
    Posts
    15

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •