Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12318

Changing virtual page premissions

$
0
0

I am trying to override the kill command In my module by replacing the pointer stored in sys_call_table, to a pointer to function i implemented. I used the kallsyms_lookup_name() syscall to get the address of the table, and lookup_address() to get the address of the page. now, my problem is the kernel protecting the page with r/w flag. So, given a virtual page address, is there a way to modify the r/w flag?


Viewing all articles
Browse latest Browse all 12318

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>