Thread (1 message) 1 message, 1 author, 2012-07-04

Fwd: before arm Linux 2.6.38, how to protect the kernel memory from accessing in user space?

From: Li Haifeng <hidden>
Date: 2012-07-04 06:01:25

Hi, I am a newbie Linux Kernel learner. I am confused  at memory
protected between user space and kernel space.  In arm, the hardware
support the memory protecting by Domain access register.

But in Linux, it may not take effect in ARM Linux. Because before the
official kernel 2.6.38, I found that both DOMAIN_USER and
DOMAIN_KERNEL all set to DOMAIN_MANAGER(0x3). So, before arm Linux
2.6.38, how to protect the kernel memory from accessing in user space?

By the way, after arm Linux 2.6.38, if CPU_USE_DOMAINS is disabled, is
the kernel domain also set to Client same as user domain?


Regards,
Haifeng Li
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help