From mboxrd@z Thu Jan 1 00:00:00 1970 From: mulyadi.santosa@gmail.com (Mulyadi Santosa) Date: Mon, 26 Mar 2012 15:27:49 +0700 Subject: Hooking a system call. In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Mon, Mar 26, 2012 at 15:14, V.Ravikumar 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