Re: Overriding System Calls
- From: "gil_hamilton@xxxxxxxxxxx" <gil_hamilton@xxxxxxxxxxx>
- Date: 25 Aug 2006 02:44:28 -0700
Prafulla T wrote:
What should I do now?
Is is possible at all to do it?
1. Modify the kernel source to directly include your own system call
code.
2. Modify the kernel source to export the sys_call_table symbol. (Of
course, your modification won't ever make it into the official kernel
source tree but if you're just trying to learn...)
3. Figure out how to dynamically locate the sys call table from your
loadable module. (This is ugly and I don't recommend it, but it
certainly seems feasible. Hint: where in kernel memory could you find a
block of 230+ consecutive words, each of which contains a valid kernel
virtual address?)
GH
.
- References:
- Overriding System Calls
- From: Prafulla T
- Re: Overriding System Calls
- From: gil_hamilton@xxxxxxxxxxx
- Re: Overriding System Calls
- From: Prafulla T
- Overriding System Calls
- Prev by Date: Re: insight for multiple users
- Next by Date: What's different between pending and blocking in signal concept?
- Previous by thread: Re: Overriding System Calls
- Next by thread: Re: Overriding System Calls
- Index(es):
Relevant Pages
|