That's coincidental. I once made a Linux kernel function hijacking module and I had the exact same idea. Well, without the freezing of other (kernel) threads, I didn't realize the problems yet.
Now that I think about it I'm even more surprised it worked in the first place. I thought Linux had w^x protection?
Comments
That's coincidental. I once made a Linux kernel function hijacking module and I had the exact same idea. Well, without the freezing of other (kernel) threads, I didn't realize the problems yet.
Now that I think about it I'm even more surprised it worked in the first place. I thought Linux had w^x protection?
It does, but you have to explicitly turn it on for the pages you care about.