euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8T1MB?from=project-issue CVE: NA
-------------------------------------------------
Export symbol walk_page_range, so that etmem_scan can exploit this for page table walk.
In etmem scan module, it will scan vma segments passed by user space, and perform page table walk to check the Access bit of each page, before reporting the scanning results to user space.
Signed-off-by: Yuchen Tang tangyuchen5@huawei.com --- mm/pagewalk.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/mm/pagewalk.c b/mm/pagewalk.c index b7d7e4fcfad7..144c9fed0fc9 100644 --- a/mm/pagewalk.c +++ b/mm/pagewalk.c @@ -525,6 +525,7 @@ int walk_page_range(struct mm_struct *mm, unsigned long start, } while (start = next, start < end); return err; } +EXPORT_SYMBOL_GPL(walk_page_range);
/** * walk_page_range_novma - walk a range of pagetables not backed by a vma