I am trying to modify the page table entries such that the protections of its virtual memory areas and its pages be different !!
I am not sure , but is it possible ?
I tried doing so by access the pgd in the mm_Struct and then using pgd_offset
and pte_index;
After that i used pte_modify !!
But it did not work !!
statement is :
our_pte= (pgd_offset(p->mm,linear_add))->pgd + pte_offset(linear_add);
and then pte_modify(our_pte,some protection);
but this doesnot work !!
Please suggest some help !!