Re: [PATCH 14(16] pramfs: memory protection

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Sunday, October 10, 2010 - 9:46 am

Marco Stornelli <marco.stornelli@gmail.com> writes:

This won't work at all on x86 because you don't handle large 
pages.

And it doesn't work on x86-64 because the first 2GB are double
mapped (direct and kernel text mapping)

Thirdly I expect it won't either on architectures that map
the direct mapping with special registers (like IA64 or MIPS)

I'm not sure this is very useful anyways. It doesn't protect
against stray DMA and it doesn't protect against writes through
broken user PTEs.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 14(16] pramfs: memory protection, Andi Kleen, (Sun Oct 10, 9:46 am)
Re: [PATCH 14(16] pramfs: memory protection, Marco Stornelli, (Sun Oct 10, 11:57 pm)
Re: [PATCH 14(16] pramfs: memory protection, Marco Stornelli, (Mon Oct 11, 10:32 am)
Re: [PATCH 14(16] pramfs: memory protection, Andi Kleen, (Tue Oct 12, 12:45 am)
Re: [PATCH 14(16] pramfs: memory protection, Marco Stornelli, (Tue Oct 12, 3:47 am)
Re: [PATCH 14(16] pramfs: memory protection, Andi Kleen, (Tue Oct 12, 4:56 am)