<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><br>>>how can
I make system_call_table address to writable so that one can change to
>>customized system call.<br>
<br></div>
<br>
</blockquote></div>Like this:<br> unsigned int level;<br> pte_t *pte = lookup_address(sys_call_table, &level);<br> if(pte->pte &~ _PAGE_RW) pte->pte |= _PAGE_RW;<br><br>An awesome example of pretty much what you're trying to do can be found here:<br>
<a href="https://github.com/fpletz/kernelroll">https://github.com/fpletz/kernelroll</a><br>Enjoy :D<br><br><br>