<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>&gt;&gt;how can
 I make system_call_table address to writable so that one can change to 
&gt;&gt;customized system call.<br>
<br></div>
<br>
</blockquote></div>Like this:<br>      unsigned int level;<br>      pte_t *pte = lookup_address(sys_call_table, &amp;level);<br>      if(pte-&gt;pte &amp;~ _PAGE_RW) pte-&gt;pte |= _PAGE_RW;<br><br>An awesome example of pretty much what you&#39;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>