There are many syscall examples for systemtap at: http://sourceware.org/systemtap/examples/
On Mar 26, 2012 6:09 AM, "Mulyadi Santosa" <mulyadi.santosa@xxxxxxxxx> wrote:
On Mon, Mar 26, 2012 at 15:14, V.Ravikumar <ravikumar.vallabhu@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies