Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I am trying to do system call hooking in Linux v2.6.28.8 sys-call-table is not an exported symbol in Linux v2.6, so I have downloaded the source code and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    2

    System Call Hooking


    Hi All,

    I am trying to do system call hooking in Linux v2.6.28.8
    sys-call-table is not an exported symbol in Linux v2.6, so I have downloaded the source code and tried to apply the patches found in Kernel Trap website (kerneltrap.org/node/1666. However I couldn't apply the patches successfully.I think maybe because the patches is for 2.6.21.5.

    Is this the correct way or is there any other methods to access the system call table?

  2. #2
    Just Joined!
    Join Date
    Sep 2009
    Posts
    2
    I managed to apply the patch manually and able to recompile the kernel. Now I want to access the system call table, i tried to access it by writing a LKM to perform system call hooking by replacing system calls but I am getting "segmentation fault" error when I load my LKM.

    Is this the correct method to perform system call hooking? Or is there any other method to access the system call table?

Posting Permissions

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