Question about memory protected between user-space and kernel-space

Li Haifeng omycle at gmail.com
Mon Jul 2 03:51:05 EDT 2012


In general, virtual address above 3GB could be only accessible by
kernel-domain itself, and be blocked by user-domain.

Could you please give a brief introduction how to implement it?

In my scene, the protected above rely to the DAC register (CP15 C3
register). But in kernel code, the domain value in PTE of user mapping
and kernel mapping are the same.



More information about the linux-arm-kernel mailing list