Dear Bing Zhu,
You can remap kernel memory to userspace using remap_pfn_range.
Thank you.
Best regards,
Seunguk Shin
------ Original Message ------
From: "bing zhu" <zhubohong12@xxxxxxxxx>
Sent: 6/11/2018 9:47:55 PM
Subject: Question about mmap
Dear Sir/Ma'amHow can i map a kernel virtual address to a user process's same virtual address ?is it possible ?thank you for your timebest wishes!
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies