Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 21, 2024, 05:35:24 PM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Linux in General
»
Linux Kernel
»
Where in the linux code is linux's instruction memory made non writable?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Where in the linux code is linux's instruction memory made non writable? (Read 11061 times)
yogesh.kumar
New Member
Posts: 2
Where in the linux code is linux's instruction memory made non writable?
«
on:
December 28, 2011, 01:48:39 PM »
Hi,
I am a computer science student and doing a project on trying to find bugs in the linux kernel.
For that I needed to patch the linux instruction memory while the kernel is running. I have changed the code of the linux kernel to do this.
My code runs fine just as the kernel boots but then after 1-2 seconds when I try to write in the instruction memory the kernel panics. So most probably after the kernel is booted its instruction memory is made non writable by the kernel itself (as for 1-2 seconds I am able to change the instruction memory and for that time my code runs perfectly).
So it would be a great help to me if anyone could tell me where in the linux kernel code is the kernel's instruction memory is made non-writable.
Thanks in advance
Yogesh Kumar
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Linux in General
»
Linux Kernel
»
Where in the linux code is linux's instruction memory made non writable?