Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 03-02-2005, 02:09 AM   #1
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, 09:46 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.


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

All times are GMT -5. The time now is 03:49 AM.

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