Hooking a system call.

Mulyadi Santosa mulyadi.santosa at gmail.com
Mon Mar 26 04:27:49 EDT 2012


On Mon, Mar 26, 2012 at 15:14, V.Ravikumar <ravikumar.vallabhu at gmail.com> wrote:
> But in my sample module example code for  intercepting system call. how can
> I make system_call_table address to writable so that one can change to
> customized system call.

My memory is a bit rigid about this part, but IIRC it's work of linker
script that put the section that holds syscall table into read-only
section. Not sure if that attribute could be changed on the fly

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list