Hooking a system call.

Peter Senna Tschudin peter.senna at gmail.com
Mon Mar 26 09:04:49 EDT 2012


There are many syscall examples for systemtap at:
http://sourceware.org/systemtap/examples/
On Mar 26, 2012 6:09 AM, "Mulyadi Santosa" <mulyadi.santosa at gmail.com>
wrote:

> 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
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120326/ee02e212/attachment.html 


More information about the Kernelnewbies mailing list