Is there a way to re-enable NX bit from Xen for a kernel that has disabled it? Best Regards Mohamad Rezaei ------------------- ICT Research Center Amirkabir University of Technology
At 14:43 +0330 on 09 Jan (1326120209), Mohamad Rezaei wrote:> Is there a way to re-enable NX bit from Xen for a kernel that has > disabled it?Do you mean in the pagetable entries? Then yes -- you can do it the same way you''re making pages read-only, by fiddling with the PTE flags in _sh_propagate(). Tim.