LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-02-2005, 01:09 AM   #1
qqrilxk
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Rep: Reputation: 0
Question can i modify int 80 vector to a user-defined vector


in linux2.6 i want to modify int 80 vector to point to a user-defined vector hander,so that i can capture all the arguments that system calls passed and to do what i want .then at the end of the user-defined vector hander call the int 80 vector hander. i know there are many ways to get the system calls arguments,but i just like to do like that .how can i to implement it ?
 
Old 03-03-2005, 08:46 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Probably the best way to do it is to add the code you want into the syscall entry routine in the kernel (dig around in entry.S since I'm not sure off the top of my head how the kernel interrupt entry routine works). SELinux and grsecurity sdo something like this, I think, so you might want to look at how they did it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to access elements of std::vector<int>* markhod Programming 3 08-02-2005 10:17 AM
when modify the int 80 interrupt vector i run into some questions qqrilxk Programming 1 04-18-2005 01:13 PM
look at how i modify the system call interrupt vector qqrilxk Programming 3 03-21-2005 01:13 AM
Merge Two Vector values into new vector ArulPrabhuT Programming 2 09-23-2004 10:18 AM
Miseries at install from HDD&floppies, with vector ISO& how to boot with vector linux prctom VectorLinux 9 06-29-2004 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration