c - change the page to write protected -
i'm doing project in linux kernel , want find/write function in kernel takes struct page
, change write protected.
i found function, takes pte
of page , changes page wrprotect:
static inline pte_t pte_wrprotect(pte_t pte)
but don't know how pte_t
of page struct page
. searched in documentation of struct, didn't find.
can explain me how pte_t
of page struct page
?
thanks
Comments
Post a Comment