LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2007, 07:31 AM   #1
robertos
LQ Newbie
 
Registered: Feb 2007
Posts: 27

Rep: Reputation: 15
syscall hook


Hello,

How can i hook a syscall in 2.6?More exactly how can i calculate the sys_call_table adress from a kernel module?(not from System.map)

Thanks.
 
Old 03-04-2007, 02:37 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Have a look at this thread:
http://www.linuxquestions.org/questi...d.php?t=246654
 
Old 03-05-2007, 12:59 AM   #3
robertos
LQ Newbie
 
Registered: Feb 2007
Posts: 27

Original Poster
Rep: Reputation: 15
Yes i have looked.The syscalltrack modulse said that it doesn't match with my kernel version(i think it was mostly for 2.4) and LTT said that it can't find glib. i've installed glib 2.8.4 and it still says that it can't find glib. Any ideas?
Thanks.
 
Old 03-05-2007, 02:55 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
No idea.
Perhaps looking in the LTTng mailing list archive http://listserv.shafik.org/pipermail/ltt-dev/ would help.
 
Old 03-05-2007, 11:48 PM   #5
robertos
LQ Newbie
 
Registered: Feb 2007
Posts: 27

Original Poster
Rep: Reputation: 15
thanks,i'll try that . i have no idea how i've missed that i was just looking for the mailing-lists yesterday.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making syscall chdir permanent when app ends mcamember Programming 4 12-22-2006 07:03 PM
Any Ideas? PC reboots and gives syscall errors & overheats kazuya1977 Linux - Hardware 1 04-03-2006 09:02 AM
assembly execve (syscall 11) rblampain Programming 2 07-03-2005 09:23 AM
what is difference between syscall of linux and Unix sdamo Linux - General 1 06-12-2005 01:07 AM
Linux syscall 11 (execve) Genjix Programming 1 12-29-2004 11:38 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration